Skip to content

support UnitRegistry.setup_matplotlib #91

Open

Description

@keewis

Right now, trying to use the .plot accessor without dequantifying first will strip the units so matplotlib never sees the quantities and can't use the converter registered by UnitRegistry.setup_matplotlib(). This happens for both single plots and facet grids, either because of DataArray.values or by converting to a masked array using DataArray.to_masked_array.

cc @jthielen

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions