File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1612,8 +1612,10 @@ def _initialize_x_y(self, z):
1612
1612
levels : int or array-like, optional
1613
1613
Determines the number and positions of the contour lines / regions.
1614
1614
1615
- If an int *n*, use *n* data intervals; i.e. draw *n+1* contour
1616
- lines. The level heights are automatically chosen.
1615
+ If an int *n*, use an algorithm
1616
+ (see `~matplotlib.ticker.MaxNLocator`) that tries to provide
1617
+ no more than *n+1* "nice" contour levels between vmin and vmax.
1618
+ The level heights are automatically chosen.
1617
1619
1618
1620
If array-like, draw contour lines at the specified levels.
1619
1621
The values must be in increasing order.
Original file line number Diff line number Diff line change @@ -1945,7 +1945,8 @@ def ge(self, x):
1945
1945
1946
1946
class MaxNLocator (Locator ):
1947
1947
"""
1948
- Select no more than N intervals at nice locations.
1948
+ Find nice tick locations with no more than N being within the view limits.
1949
+ Locations beyond the limits are added to support autoscaling.
1949
1950
"""
1950
1951
default_params = dict (nbins = 10 ,
1951
1952
steps = None ,
You can’t perform that action at this time.
0 commit comments