Quantcast
Channel: Uncategorized - Matplotlib
Viewing all articles
Browse latest Browse all 51

Matplotlib inline no longer default in Notebook?

$
0
0

Brand new computer. Fresh anaconda install (Python 3.12 and anaconda 2024.10-1).

import numpy as np
import matplotlib.pyplot as plt
import matplotlib as mpl
% matplotlib inline

fig1,ax = plt.subplots()
ax.plot(np.random.rand(100))

No plot appears! I have to execute plt.show()

This is very disturbing. Any ideas on what is going on? How can I fix it? TIA

6 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 51

Latest Images

Trending Articles



Latest Images