Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57e4809

Browse files
committed
Merge remote-tracking branch 'matplotlib/v2.x'
Conflicts: lib/matplotlib/tests/test_axes.py - tests added on both branches, kept autonum tests together
2 parents 5d54672 + c91efe1 commit 57e4809

9 files changed

Lines changed: 819 additions & 136 deletions

File tree

doc/api/api_changes.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,16 @@ consistently. For example, when both y-axes of a``twinx`` plot use
116116
``matplotlib.ticker.LinearLocator`` with the same number of ticks,
117117
their y-tick locations and grid lines will coincide.
118118

119+
`matplotlib.ticker.LogLocator` gains numticks kwarg
120+
---------------------------------------------------
121+
122+
The maximum number of ticks generated by the
123+
`~matplotlib.ticker.LogLocator` can now be controlled explicitly
124+
via setting the new 'numticks' kwarg to an integer. By default
125+
the kwarg is None which internally sets it to the 'auto' string,
126+
triggering a new algorithm for adjusting the maximum according
127+
to the axis length relative to the ticklabel font size.
128+
119129

120130
New defaults for 3D quiver function in mpl_toolkits.mplot3d.axes3d.py
121131
---------------------------------------------------------------------

doc/users/annotations.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ coordinates, one could do::
5151
)
5252

5353
For physical coordinate systems (points or pixels) the origin is the
54-
(bottom, left) of the figure or axes. If the value is negative,
55-
however, the origin is from the (right, top) of the figure or axes,
56-
analogous to negative indexing of sequences.
54+
bottom-left of the figure or axes.
5755

5856
Optionally, you can enable drawing of an arrow from the text to the annotated
5957
point by giving a dictionary of arrow properties in the optional keyword

0 commit comments

Comments
 (0)