Skip to content

Commit 64015f7

Browse files
committed
Various changes
1 parent 0be068d commit 64015f7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

proplot/axistools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,8 @@ def __init__(self, axis, **kwargs):
802802
def get_transform(self):
803803
return self._transform
804804
def set_default_locators_and_formatters(self, axis):
805-
axis.set_smart_bounds(True) # may prevent ticks from extending off sides
805+
# TODO: add example to bug list, smart bounds screws up ticking!
806+
# axis.set_smart_bounds(True) # may prevent ticks from extending off sides
806807
axis.set_major_formatter(Formatter('default'))
807808
axis.set_minor_formatter(Formatter('null'))
808809

proplot/subplots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def _panels_kwargs(side,
565565
default = rc['subplots.panelwidth']
566566
share = _notNone(share, (not filled))
567567
width = units(_notNone(width, default))
568-
space = _notNone(space, units(rc['subplots.' + ('panel' if share
568+
space = _notNone(units(space), units(rc['subplots.' + ('panel' if share
569569
and not figure
570570
else 'xlab' if s == 'b' else 'ylab' if s == 'l'
571571
else 'inner' if figure else 'panel') + 'space']))

0 commit comments

Comments
 (0)