You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pass rc.cmap and rc.cycle arguments through respective constructor functions #169
changed the title [-]cmap name doesn't work in the configuration of cycle[/-][+]Pass rc.cmap and rc.cycle arguments through respective constructor functions[/+]on May 19, 2020
I'm going to close this as a duplicate of #69. When I add rc-param assignment validation it will be trivial to pass assignments to rc.cmap and rc.cycle through the Colormap and Cycle constructors.
Now that rc settings are validated, this has been implemented. It works by saving the colormap name to the rc dict (necessary since the rc dicts should only contain settings printable to proplotrc files). For example:
Activity
[-]cmap name doesn't work in the configuration of cycle[/-][+]Pass rc.cmap and rc.cycle arguments through respective constructor functions[/+]lukelbd commentedon Jul 30, 2021
I'm going to close this as a duplicate of #69. When I add rc-param assignment validation it will be trivial to pass assignments to
rc.cmapandrc.cyclethrough theColormapandCycleconstructors.lukelbd commentedon Aug 18, 2021
Now that rc settings are validated, this has been implemented. It works by saving the colormap name to the rc dict (necessary since the rc dicts should only contain settings printable to
proplotrcfiles). For example:returns
'magma'rather than a colormap instance. This is ok since colormaps assigned to these settings are also automatically registered.