Skip to content

Commit

Permalink
Set matplotlib axis ranges after ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 15, 2017
1 parent c72f3bb commit a72fb35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions holoviews/plotting/mpl/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,6 @@ def _finalize_axis(self, key, title=None, dimensions=None, ranges=None, xticks=N
if dimensions:
self._set_labels(axis, dimensions, xlabel, ylabel, zlabel)

# Set axes limits
self._set_axis_limits(axis, element, subplots, ranges)

if not subplots:
legend = axis.get_legend()
if legend:
Expand All @@ -199,6 +196,9 @@ def _finalize_axis(self, key, title=None, dimensions=None, ranges=None, xticks=N
if self.apply_ticks:
self._finalize_ticks(axis, dimensions, xticks, yticks, zticks)

# Set axes limits
self._set_axis_limits(axis, element, subplots, ranges)

# Apply aspects
self._set_aspect(axis, self.aspect)

Expand Down

0 comments on commit a72fb35

Please sign in to comment.