Skip to content

MacOS version of python-control crashes with matplotlib v3.0 #243

Closed

Description

@murrayrm

While debugging pull request #242, I was getting crashes on MacOS 10.13 (High Sierra). Finally chased the problem down to matplotlib-3.0.1, which was having some problems with the backend. Documenting this here so that we can see if it is an issue for others or on other platforms.

Quick fix: set the MPLBACKEND environment variable to TkAgg

export MPLBACKEND="TkAgg" 

Alternative: use matplotlib-2.2.2.

Activity

  1. murrayrm commented on Apr 12, 2019

    @murrayrm
    MemberAuthor

    This problem seems to be gone on MacOS 10.14.3 (Mojave) and matplotlib-3.0.0 under python 3.5.

  2. murrayrm commented on Apr 20, 2019

    @murrayrm
    MemberAuthor

    Removing wontfix. Looks like this is still a problem on the conda-forge build for MacOS. Setting MPLBACKEND fixes it.

  3. murrayrm commented on Dec 28, 2020

    @murrayrm
    MemberAuthor

    This issue seems to have been fixed. Just tested with python3.7, control-0.8.4, matplotlib-3.32 on Big Sur and all worked fine.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions