Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

pop-up plots using Python Jupyter Notebook

Just use an interactive backend. This works for me:

import matplotlib.pyplot as plt
%matplotlib tk
plt.plot([1, 2])

The notebook (nbagg) backend also allows for expand/shrink by hand. It has some rough edges though.

Tags:

Plot

Matplotlib

Jupyter Notebook

Related

Can an array be declared as a constant? What is the maximum size for a broadcast object in Spark? How to fill numpy array with another numpy array Are swift classes inside struct passed by copy during assignment? Merging changes from master into my branch Why aren’t my Safari App Extension NSLog messages showing up in the console in Xcode? Complexe non-equi merge in R Browserify - ParseError: 'import' and 'export' may appear only with 'sourceType: module Vue.JS 2.0 slow when modifying unrelated data create-react-app with sass not loading styles Cakephp3: How can I return json data? Could not start the julia language server in VS Code

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy