Skip to content

simple uxarray.plot(backend="matplotlib") seems to break subsequent xarray.plot functionality #1537

Closed

Description

@wwieder

Version

v2025.6.0

How did you install UXarray?

Conda

What happened?

A simple plotting call of a ux data array works fine:

ds['weights'].plot(backend="matplotlib").opts(
    cmap="viridis", title="Land Weights"
)

But then simple xarray.plot() call won't create a plot (e.g.

global_mean[plotVars[i]].plot() 

NOTE leaving off the backend="matplotlib" seems to prevent this issue from occurring
Sample notebook is here https://github.com/wwieder/CESM-Tutorial/blob/land_diags/notebooks/diagnostics/clm_ctsm/basics_clm.ipynb

What did you expect to happen?

plotting seamlessly between uxarray and basic matplotlib figures in a workflow

Can you provide a MCVE to repoduce the bug?

Activity

  1. added
    bug
    on Jun 29, 2026
  2. moved this from 📚 Backlog to ✅ Done in UXarray Developmenton Jul 14, 2026
  3. added a commit that references this issue on Jul 16, 2026
    2be3c1f
  4. added a commit that references this issue on Jul 16, 2026
    465fd4c
  5. added a commit that references this issue on Jul 28, 2026
    73101af
  6. added a commit that references this issue on Aug 18, 2026
    23b8d5c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions