Skip to content

Matplotlib Backends #177

@s2t2

Description

@s2t2

Matplotlib often throws an import error if a "backend" is not specified. Here's how to fix (using a backend that works on Mac OS):

import matplotlib as mpl # need to add this line
mpl.use("TkAgg") # need to add this line
import matplotlib.pyplot as plt 
import matplotlib.ticker as ticker

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