-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: Add missing API change docs for 1.5.3 #7254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOC: Add missing API change docs for 1.5.3 #7254
Conversation
|
||
Prior to 1.5.3 kwargs passed to `~matplotlib.Axes.plot` were handled | ||
in two parts -- user supplied kwargs and default kwargs generated | ||
`~matplotlib.Axes.plot` (such as the cycled styles). The two |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like there's a word missing between this line and the above one.
`~matplotlib.Axes.plot` (such as the cycled styles). The two | ||
dictionaries are now merged and passed into | ||
`~matplotlib.lines.Line2D.__init__` all at once instead of applying the | ||
user supplied kwargs via a bulk update after the artist has been created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"via a bulk update" seems extraneous.
|
||
This causes ``None`` passed as ``plot(..., marker=None)`` to now 'do | ||
the default' thing rather than to result in no marker. This is only | ||
an issue if the user explicitly passes ``None`` and has changed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the user" seems like a different PoV than the rest of this document, though it's not perfectly consistent anyway...
2e5b8c2
to
7f55b9e
Compare
@QuLogic basicly re-wrote it. |
in two parts -- default kwargs generated internal to | ||
`~matplotlib.Axes.plot` (such as the cycled styles) and user supplied | ||
kwargs. The internally generated kwargs were passed to the | ||
`~matplotlib.lines.Line2D.__init__` and the user kwargs were passed to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would generate as "The internally generated kwargs were passed to the __init__
and ...", right? It seems like using the full name would be a good idea here (no ~
.)
of ``ax.plot(..., marker=None)`` changed from 'no markers' to 'default markers | ||
from rcparams'. | ||
|
||
This is change in only evident if ``mpl.rcParams['lines.marker']`` has a value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"This is change in" -> "This change is", I think.
Thanks! |
closes #7218