Skip to content

Use of deprecated features breaks contour #17

@FluxusMagna

Description

@FluxusMagna

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' 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions