I want to create multiple figure with Matplotlib in python, using the macosx backend. Currently, my code looks something like this:
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 2, 100)
f1 = plt.figure(1)
plt.plot(x,x**2)
f2 = plt.figure(2)
plt.plot(x,x**2)
plt.show()
This creates a single window, with two tabs. One for figure 1, and one for figure 2. I suggest an option to open them in separate windows.
Note that the tabs likely come from the automatic tab-support built into the OS since macOS 10.12
Matplotlib version
- Operating system: macOS 10.14.3
- Matplotlib version: 3.0.2
- Matplotlib backend (
print(matplotlib.get_backend())): MacOSX
- Python version: 3.7.1
- Jupyter version (if applicable): -
- Other libraries: -
- Installed via: pip
- Python installation via pyenv
I want to create multiple figure with Matplotlib in python, using the macosx backend. Currently, my code looks something like this:
This creates a single window, with two tabs. One for figure 1, and one for figure 2. I suggest an option to open them in separate windows.
Note that the tabs likely come from the automatic tab-support built into the OS since macOS 10.12
Matplotlib version
print(matplotlib.get_backend())): MacOSX