Menu

#151 Python - access to predefined color scales via constant

For next release
closed
nobody
None
5
2016-09-12
2016-08-24
Benjamin
No

It would be great to have access to color scales in a similar way we access predefined colors such as tlp.Color.Amber, for example we could propose tlp.ColorScale.colorbrewer_RdYlGn_10.

Referring to this discussion: https://sourceforge.net/p/auber/discussion/206283/thread/950786e1/?limit=25#b500

Discussion

  • Patrick Mary

    Patrick Mary - 2016-09-12
    • status: open --> closed
     
  • Patrick Mary

    Patrick Mary - 2016-09-12

    Thanks for your suggestion.
    The ColorScaleManager class has been recently added by Antoine in the current svn code line (commit #11504).
    So predefined color scales can now be accessed using a call such as
    tlpgui.ColorScaleManager.getColorScale("RdYlGn_10")

     

Log in to post a comment.

MongoDB Logo MongoDB