Conversation
|
https://travis-ci.org/matplotlib/matplotlib/jobs/136321898#L1084 Apparently that feature got in with out enough tests. |
1. Remove unused entries from `STEP_LOOKUP_MAP` (`plt.step` already normalizes drawstyles to `steps-*` format, make `fill_between` and `fill_betweenx` do the same). 2. Clarify the error for invalid drawstyles. 3. Fix handling of `steps-*` drawstyles by the Qt options editor.
ba33811 to
b45fdde
Compare
|
Fixed. I chose to normalize the input of |
|
Actually, can we backport this to 2.0? Up to 1.5.1, opening the figure options editor after making a plot of drawstyle "steps-post" (for example) would print an error and mangle the drawstyle, which is bad, but still much better than the situation in 2.0b3 where an exception in thrown in the event loop (... and by default, PyQt5 aborts the program in such a case). |
|
Does the whole PR need to go back, or just the changes to |
|
I think the latter should be enough. |
|
@tacaswell should I open a new PR with just the changes to |
|
Can you do a PR with just the |
STEP_LOOKUP_MAP(plt.stepalreadynormalizes drawstyles to
step-*format).step-*drawstyles by the Qt options editor.