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

removed import_matplotlib_pyplot to support xarray 2023.9.0 #163

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions xugrid/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
_process_cmap_cbar_kwargs,
_update_axes,
get_axis,
import_matplotlib_pyplot,
label_from_attrs,
)

Expand Down Expand Up @@ -251,8 +250,6 @@ def newplotfunc(
allargs["plotfunc"] = globals()[plotfunc.__name__]
return _easy_facetgrid(darray, kind="dataarray", **allargs)

plt = import_matplotlib_pyplot()

# For 3d plot, ensure given ax is a Axes3D object
if (
plotfunc.__name__ == "surface"
Expand Down