You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading proplot, I get errors when trying to do some simple things. The main issue is encountered upon making panels. The panel displays in output but with an error. Would really appreciate advice on how to fix this! I have looked at some previous posts here and have already tried updating matplotlib and proplot together, with no change in behavior.
Sorry, for now you'll have to downgrade to matplotlib < 3.5.0 (see #309). So try pip install matplotlib==3.4.3. Have been busy lately but hoping to get a 3.5.0 compatibility release out by the end of the year.
Alternatively you can install the development version with pip install git+https://github.com/lukelbd/proplot.git, which is compatible with matplotlib 3.5 (there's just a couple other things I want to include in the release, namely #325).
Description
After upgrading proplot, I get errors when trying to do some simple things. The main issue is encountered upon making panels. The panel displays in output but with an error. Would really appreciate advice on how to fix this! I have looked at some previous posts here and have already tried updating matplotlib and proplot together, with no change in behavior.
Steps to reproduce
import proplot as plot
import numpy as np
fig, axs = plot.subplots(axwidth=5, ncols=1, nrows=1)
a = axs.plot(np.linspace(0,100,100), np.linspace(0,100,100), '--', c='sapphire', label='Ni')
axs.panel(side='b')
Expected behavior
A plot featuring a line, with an empty panel beneath it.
Actual behavior:
Throws following error:
AttributeError: 'CartesianAxesSubplot' object has no attribute '_shared_x_axes'
Proplot version
3.5.1
0.9.5
The text was updated successfully, but these errors were encountered: