Skip to content

Matplotlib backend configuration #5

Description

@tovrstra

In some scenario's (not sure which), usage of matplotlib on macos with the default backend leads to non-obvious errors. See for example:

https://travis-ci.com/theochem/tinydft/jobs/200737929#L297
theochem/tinydft#1

This is solved in chemtools with the following line:

matplotlib.use('agg')

The problem with this solution is that it makes it impossible to use plt.show to pop up a windows with a plot.

The ideal solution would be to figure out how to install matplotlib on macos, such that the default backend works.

This is the corresponding matplotlib issue: matplotlib/matplotlib#13096 (It is closed??)

This is the corresponding conda issue: ContinuumIO/anaconda-issues#10554

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