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
Minor issue // plot.show_cycles() throws AttributeError #90
No problem :). I figured this out: The current show_cycles command is fragile; it just tracks cycle names, and evidently you have overwritten a cycle by that name with a colormap.
The next version includes changes to show_cycles that will solve this issue: plot.show_cycles will be identical to plot.show_cmaps, the only difference being that plot.show_cmaps displays LinearSegmentedColormaps (continuous color gradations) while plot.show_cycles displays ListedColormaps (discrete color sets).
Activity
lukelbd commentedon Jan 3, 2020
No problem :). I figured this out: The current
show_cyclescommand is fragile; it just tracks cycle names, and evidently you have overwritten a cycle by that name with a colormap.The next version includes changes to
show_cyclesthat will solve this issue:plot.show_cycleswill be identical toplot.show_cmaps, the only difference being thatplot.show_cmapsdisplaysLinearSegmentedColormaps (continuous color gradations) whileplot.show_cyclesdisplaysListedColormaps (discrete color sets).lukelbd commentedon Jan 7, 2020
This should be fixed by #98. It is published in the latest (0.4.0) release; use
pip install --upgrade proplotto upgrade.