Skip to content

Commit

Permalink
fix for Matplotlib-2.1.0rc1 (#1842)
Browse files Browse the repository at this point in the history
AnchoredText unused import was remove from mpl_toolkit. fix #1840
  • Loading branch information
stonebig authored and philippjfr committed Sep 13, 2017
1 parent 52d3b7a commit 88a1cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/mpl/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _init_axis(self, fig, axis):
def _subplot_label(self, axis):
layout_num = self.layout_num if self.subplot else 1
if self.sublabel_format and not self.adjoined and layout_num > 0:
from mpl_toolkits.axes_grid1.anchored_artists import AnchoredText
from matplotlib.offsetbox import AnchoredText
labels = {}
if '{Alpha}' in self.sublabel_format:
labels['Alpha'] = int_to_alpha(layout_num-1)
Expand Down

0 comments on commit 88a1cb3

Please sign in to comment.