Skip to content

Problems importing matplotlib in a virtualenv on OSX #8

@smacleod

Description

@smacleod

I was having problems running the first cell of the notebooks due to a problem importing matplotlib

Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework

I solved this by creating a ~/.matplotlib/matplotlibrc file containing the line backend: TkAgg. Restarting jupyter notebook was also required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions