Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of deprecated features breaks contour #17

Open
FluxusMagna opened this issue Nov 19, 2022 · 0 comments
Open

Use of deprecated features breaks contour #17

FluxusMagna opened this issue Nov 19, 2022 · 0 comments

Comments

@FluxusMagna
Copy link

Probably breaks other things too, but this is where I noticed it.

MatplotlibDeprecationWarning: Calling gca() with keyword arguments was deprecated in Matplotlib 3.4. Starting two minor releases later, gca() will take no keyword arguments. The gca() function should only be used to get the current axes, or if no axes exist, create new axes with default keyword arguments. To create a new axes with non-default arguments, use plt.axes() or plt.subplot().
  ax = plot.gca(projection='3d')
Traceback (most recent call last):
  File "/tmp/code1875079-1.py", line 24, in <module>
    ax.plot_surface(np.array(data[0]), np.array(data[1]), np.array(data[2]), rstride=1, cstride=1, cmap=cm.Blues, alpha=0.3)
AttributeError: 'AxesSubplot' object has no attribute 'plot_surface'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant