Skip to content

Instantly share code, notes, and snippets.

@abhisheknaik96
Created August 11, 2019 17:37
Show Gist options
  • Save abhisheknaik96/e9eefdd691bd80e2e43051f31144fa90 to your computer and use it in GitHub Desktop.
Save abhisheknaik96/e9eefdd691bd80e2e43051f31144fa90 to your computer and use it in GitHub Desktop.

To get matplotlib to work with ipython on MacOS:

import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment