Uh oh!
There was an error while loading. Please reload this page.
Use drawstyle instead of linestyle in plot.step. - #3274
Conversation
max-sixty
commented
Aug 31, 2019
Thanks @QuLogic ! If you want to add a whatsnew and give yourself credit, please do. |
dcherian
commented
Sep 2, 2019
Hmmm... this is backwards-incompatible so we'll have to be careful.
What does this mean? I couldn't find anything in the release notes... |
QuLogic
commented
Sep 26, 2019
|
dcherian
commented
Oct 10, 2019
Looks like our min matplotlib is now 3.1.0. @QuLogic can you add a test and whats-new entry please? |
max-sixty
commented
Oct 29, 2019
@QuLogic this is so close! How would you feel about a test & whatsnew entry? Then we can merge. |
QuLogic
commented
Mar 7, 2020
Sorry I lost track of this; I will rebase soon and update. |
b3867c4 to
0e1d26eCompareQuLogic
commented
Mar 25, 2020
Done. |
mathause
commented
Mar 25, 2020
Does this need a deprecation message or is this handled by matplotlib? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| if ls is not None: | ||
| if linestyle is None: | ||
| linestyle = ls | ||
| if ds is not None: |
There was a problem hiding this comment.
raise an error if linestyle or ls is in kwargs?
There was a problem hiding this comment.
linestyle and ls are still valid things to pass; you just can't mix draw styles into the string.
Mixing the two is deprecated in Matplotlib 3.1, and breaks the doc build if warnings are set to errors (which they are in new IPython sphinx extensions.)
pep8speaks
commented
Mar 25, 2020
Hello @QuLogic! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
QuLogic
commented
Mar 25, 2020
@pep8speaks seems a little broken... Line 328 is an empty line. |
max-sixty
commented
Mar 25, 2020
Yes agree! Let's merge on green |
max-sixty
commented
Mar 26, 2020
Thanks @QuLogic ! |
dcherian
commented
Mar 26, 2020
Got it. Thanks @QuLogic |
* upstream/master: (54 commits) Limit repr of arrays containing long strings (pydata#3900) expose a few zarr backend functions as semi-public api (pydata#3897) Use drawstyle instead of linestyle in plot.step. (pydata#3274) Implementation of polyfit and polyval (pydata#3733) misplaced quote in whatsnew (pydata#3889) Rename ordered_dict_intersection -> compat_dict_intersection (pydata#3887) Control attrs of result in `merge()`, `concat()`, `combine_by_coords()` and `combine_nested()` (pydata#3877) xfail test_uamiv_format_write (pydata#3885) Use `fixes` in PR template (pydata#3886) Tweaks to "how_to_release" (pydata#3882) whatsnew section for 0.16.0 Release v0.15.1 whatsnew for 0.15.1 (pydata#3879) update panel documentation (pydata#3880) reword the whats-new entry for unit support (pydata#3878) Raise error when assigning to IndexVariable.values & IndexVariable.data (pydata#3862) Re-enable tests xfailed in pydata#3808 and fix new CFTimeIndex failures due to upstream changes (pydata#3874) add spacing in the versions section of the issue report (pydata#3876) map_blocks: allow user function to add new unindexed dimension. (pydata#3817) Delete associated indexes when deleting coordinate variables. (pydata#3840) ...
* upstream/master: (75 commits) Implement idxmax and idxmin functions (pydata#3871) Update pre-commit-config.yaml (pydata#3911) Revert "Use `fixes` in PR template (pydata#3886)" (pydata#3912) update the docstring of diff (pydata#3909) Un-xfail test_dayofyear_after_cftime_range (pydata#3907) Limit repr of arrays containing long strings (pydata#3900) expose a few zarr backend functions as semi-public api (pydata#3897) Use drawstyle instead of linestyle in plot.step. (pydata#3274) Implementation of polyfit and polyval (pydata#3733) misplaced quote in whatsnew (pydata#3889) Rename ordered_dict_intersection -> compat_dict_intersection (pydata#3887) Control attrs of result in `merge()`, `concat()`, `combine_by_coords()` and `combine_nested()` (pydata#3877) xfail test_uamiv_format_write (pydata#3885) Use `fixes` in PR template (pydata#3886) Tweaks to "how_to_release" (pydata#3882) whatsnew section for 0.16.0 Release v0.15.1 whatsnew for 0.15.1 (pydata#3879) update panel documentation (pydata#3880) reword the whats-new entry for unit support (pydata#3878) ...
Mixing the two is deprecated in Matplotlib 3.1, and breaks the doc build
if warnings are set to errors (which they are in new IPython sphinx
extensions.)
black . && mypy . && flake8whats-new.rstfor all changes andapi.rstfor new API