File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,34 @@ sources of the changes you are experiencing.
1111For new features that were added to matplotlib, please see
1212:ref: `whats-new `.
1313
14+ Changes in 1.5.3
15+ ================
16+
17+ ``ax.plot(..., marker=None) `` gives default marker
18+ --------------------------------------------------
19+
20+ Prior to 1.5.3 kwargs passed to `~matplotlib.Axes.plot ` were handled
21+ in two parts -- default kwargs generated internal to
22+ `~matplotlib.Axes.plot ` (such as the cycled styles) and user supplied
23+ kwargs. The internally generated kwargs were passed to the
24+ `matplotlib.lines.Line2D.__init__ ` and the user kwargs were passed to
25+ ``ln.set(**kwargs) `` to update the artist after it was created. Now
26+ both sets of kwargs are merged and passed to
27+ `~matplotlib.lines.Line2D.__init__ `. This change was made to allow `None `
28+ to be passed in via the user kwargs to mean 'do the default thing' as
29+ is the convention through out mpl rather than raising an exception.
30+
31+ Unlike most `~matplotlib.lines.Line2D ` setter methods
32+ `~matplotlib.lines.Line2D.set_marker ` did accept `None ` as a valid
33+ input which was mapped to 'no marker'. Thus, by routing this
34+ ``marker=None `` through ``__init__ `` rather than ``set(...) `` the meaning
35+ of ``ax.plot(..., marker=None) `` changed from 'no markers' to 'default markers
36+ from rcparams'.
37+
38+ This is change is only evident if ``mpl.rcParams['lines.marker'] `` has a value
39+ other than ``'None' `` (which is string ``'None' `` which means 'no marker').
40+
41+
1442Changes in 1.5.2
1543================
1644
You can’t perform that action at this time.
0 commit comments