Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Closed
Labels
Milestone
Description
Bug report
Bug summary
My historic Seaborn example doesn't seem to work anymore with Matplotlib-2.2.0rc1. is it a volontary change ?
# Seaborn# for more examples, see http://stanford.edu/~mwaskom/software/seaborn/examples/index.htmlimportseabornassnssns.set()df=sns.load_dataset("iris")sns.pairplot(df,hue="species",size=1.5)
Actual outcome
---------------------------------------------------------------------------ValueError Traceback (most recent call last)<ipython-input-9-78e2f3db95aa> in <module>() 4 sns.set() 5 df = sns.load_dataset("iris")----> 6 sns.pairplot(df, hue="species", size=1.5)C:\WinPython\bd35\buildQt5\winpython-32bit-3.5.x.2\python-3.5.4\lib\site-packages\seaborn\axisgrid.py in pairplot(data, hue, hue_order, palette, vars, x_vars, y_vars, kind, diag_kind, markers, size, aspect, dropna, plot_kws, diag_kws, grid_kws) 2058 if grid.square_grid: 2059 if diag_kind == "hist":-> 2060 grid.map_diag(plt.hist, **diag_kws) 2061 elif diag_kind == "kde": 2062 diag_kws["legend"] = FalseC:\WinPython\bd35\buildQt5\winpython-32bit-3.5.x.2\python-3.5.4\lib\site-packages\seaborn\axisgrid.py in map_diag(self, func, **kwargs) 1333 diag_ax = ax._make_twin_axes(sharex=ax, 1334 sharey=diag_axes[0],-> 1335 frameon=False) 1336 else: 1337 diag_ax = ax._make_twin_axes(sharex=ax, frameon=False)C:\WinPython\bd35\buildQt5\winpython-32bit-3.5.x.2\python-3.5.4\lib\site-packages\matplotlib\axes\_subplots.py in _make_twin_axes(self, *kl, **kwargs) 174 from matplotlib.projections import process_projection_requirements 175 if 'sharex' in kwargs and 'sharey' in kwargs:--> 176 raise ValueError("Twinned Axes may share only one axis.") 177 kl = (self.get_subplotspec(),) + kl 178 projection_class, kwargs, key = process_projection_requirements(ValueError: Twinned Axes may share only one axis.Matplotlib version
- Operating system: windows10
- Matplotlib version: 2.2.0rc1 of feb 18th cgohlke
- Matplotlib backend (
print(matplotlib.get_backend())):module://ipykernel.pylab.backend_inline - Python version: 3.5.4
- Jupyter version (if applicable): Jupyterlab-0.31.8
- Other libraries: