Skip to content

Commit 9ac149e

Browse files
committed
Remove smart_bounds support
1 parent 2480ca3 commit 9ac149e

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

proplot/scale.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ def __init__(
257257
self, arg, invert=False, parent_scale=None,
258258
major_locator=None, minor_locator=None,
259259
major_formatter=None, minor_formatter=None,
260-
smart_bounds=None,
261260
):
262261
"""
263262
Parameters
@@ -304,11 +303,6 @@ def __init__(
304303
The default major and minor formatter. By default these are
305304
borrowed from `transform`. If `transform` is not an axis scale,
306305
they are the same as `~matplotlib.scale.LinearScale`.
307-
smart_bounds : bool, optional
308-
Whether "smart bounds" are enabled by default. If not ``None``,
309-
this is passed to `~matplotlib.axis.Axis.set_smart_bounds` when
310-
`~matplotlib.scale.ScaleBase.set_default_locators_and_formatters`
311-
is called. By default these are borrowed from `transform`.
312306
"""
313307
# NOTE: We permit *arbitrary* parent axis scales. If the parent is
314308
# non-linear, we use *its* default locators and formatters. Assumption
@@ -363,7 +357,6 @@ def __init__(
363357
# Transform and default stuff
364358
self.functions = (forward, inverse)
365359
self._transform = functransform
366-
self._default_smart_bounds = smart_bounds
367360
self._default_major_locator = major_locator
368361
self._default_minor_locator = minor_locator
369362
self._default_major_formatter = major_formatter
@@ -378,8 +371,7 @@ def __init__(
378371
if isinstance(scale, mscale.LinearScale):
379372
continue
380373
for key in (
381-
'smart_bounds', 'major_locator', 'minor_locator',
382-
'major_formatter', 'minor_formatter'
374+
'major_locator', 'minor_locator', 'major_formatter', 'minor_formatter'
383375
):
384376
key = '_default_' + key
385377
attr = getattr(scale, key)

0 commit comments

Comments
 (0)