Skip to content

bisect very hard with rcParam changes #19578

Closed

Description

@jklymak

At some point recently we changed rcParam handling so that it makes git bisect require that matplotlib be rebuilt every time a bisect step crosses a change in the rcParam list. This seems a needless pain, and we should just warn.

  import matplotlib as mpl
Traceback (most recent call last):
  File "/Users/jklymak/matplotlib/testlisted.py", line 1, in <module>
    import matplotlib as mpl
  File "/Users/jklymak/matplotlib/lib/matplotlib/__init__.py", line 833, in <module>
    defaultParams = rcsetup.defaultParams = {
  File "/Users/jklymak/matplotlib/lib/matplotlib/__init__.py", line 836, in <dictcomp>
    rcParamsDefault[key]),
  File "/Users/jklymak/matplotlib/lib/matplotlib/__init__.py", line 621, in __getitem__
    return dict.__getitem__(self, key)
KeyError: 'axes.zmargin'

Activity

  1. tacaswell commented on Feb 25, 2021

    @tacaswell
    Member

    or at least have MPLBISECT_MODE=1 env?

  2. anntzer commented on Apr 22, 2021

    @anntzer
    Contributor

    fixed by #19603, I believe.

  3. added this to the v3.5.0 milestone on Apr 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions