Skip to content

Support clim kwarg in pcolor-type plots #4132

Closed

Description

@efiring

Image-type plots support the clim kwarg, but pcolor-type do not. Pcolorfast is a hybrid, so whether it does or does not depends on whether it is generating an image or a quadmesh.

The problem is most likely a consequence of inconsistencies in the way **kwargs are passed down, and the way the overwhelming number of documented kwargs are collected by the auto doc generation--by looking for "set_" methods. There has been discussion about cleaning this up, long-term; in the short term, I think we should just make sure that the clim kwarg actually is supported by anything that presently claims to support it, and potentially by anything that generates a ScalarMappable.

This is open to discussion.

Activity

  1. tacaswell commented on Feb 20, 2015

    @tacaswell
    Member

    👍 on making sure everything supports it.

  2. petehuang commented on Jan 9, 2017

    @petehuang
    Contributor

    Should we change the issue title to "Support clim kwarg in pcolor-type plots"?

  3. changed the title [-]In pcolor-type plots, a clim kwarg is not supported, contrary to the docs[/-] [+]Support clim kwarg in pcolor-type plots[/+] on Jan 9, 2017
  4. added this to the v3.5.0 milestone on Sep 22, 2021
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

    API: consistencyConsistency of the matplotlib API, including naming, behavior, defaults, …Documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions