8000 CHANGELOG, api_changes.rst, whats_new.rst · matplotlib/matplotlib@eaec4bd · GitHub
[go: up one dir, main page]

Skip to content

Commit eaec4bd

Browse files
committed
CHANGELOG, api_changes.rst, whats_new.rst
1 parent e4f478d commit eaec4bd

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

CHANGELOG

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@
1515

1616
2014-03-13 Add parameter 'clockwise' to function pie, True by default.
1717

18-
2014-27-02 Implemented separate horizontal/vertical axes padding to the
18+
2014-02-27 Implemented separate horizontal/vertical axes padding to the
1919
ImageGrid in the AxesGrid toolkit
2020

21+
2014-02-27 Allowed markevery property of matplotlib.lines.Line2D to be, an int
22+
numpy fancy index, slice object, or float. The float behaviour
23+
turns on markers at approximately equal display-coordinate-distances
24+
along the line.
25+
2126
2014-01-02 `triplot` now returns the artist it adds and support of line and
2227
marker kwargs has been improved. GBY
2328

doc/api/api_changes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ original location:
153153

154154
* Added clockwise parameter to control sectors direction in `axes.pie`
155155

156+
* In `matplotlib.lines.Line2D` the `markevery` functionality has been extended.
157+
Previously an integer start-index and stride-length could be specified using
158+
either a two-element-list or a two-element-tuple. Now this can only be done
159+
using a two-element-tuple. If a two-element-list is used then it will be
160+
treated as numpy fancy indexing and only the two markers corresponding to the
161+
given indexes will be shown.
156162

157163
.. _changes_in_1_3:
158164

doc/users/whats_new.rst

Lines changed: 10 additions & 1 deletion
54C9
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ New plotting features
3535
Power-law normalization
3636
```````````````````````
3737
Ben Gamari added a power-law normalization method,
38-
:class:`~matplotlib.colors.PowerNorm`. This class maps a range of
38+
:class:`~matplotlib.colors.PowerNorm`. This class maps a range of
3939
values to the interval [0,1] with power-law scaling with the exponent
4040
provided by the constructor's `gamma` argument. Power law normalization
4141
can be useful for, e.g., emphasizing small populations in a histogram.
@@ -153,6 +153,15 @@ Larry Bradley fixed the :func:`~matplotlib.pyplot.errorbar` method such
153153
that the upper and lower limits (*lolims*, *uplims*, *xlolims*,
154154
*xuplims*) now point in the correct direction.
155155

156+
More `markevery` options to show only a subset of markers
157+
`````````````````````````````````````````````````````````
158+
Rohan Walker extended the `markevery` property in
159+
:class:`~matplotlib.lines.Line2D`. You can now specify a subset of markers to
160+
show with an int, slice object, numpy fancy indexing, or float. Using a float
161+
shows markers at approximately equal display-coordinate-distances along the
162+
line.
163+
164+
156165
Date handling
157166
-------------
158167

0 commit comments

Comments
 (0)
0