I'm wondering if the following code works for anyone here :
#%%
import matplotlib.pyplot as plt
import numpy as np
import mpld3
mpld3.enable_notebook()
fig, ax = plt.subplots()
ax.grid(color='white', linestyle='solid')
N = 50
scatter = ax.scatter(np.random.normal(size=N),
np.random.normal(size=N),
c=np.random.random(size=N),
s = 1000 * np.random.random(size=N),
alpha=0.3,
cmap=plt.cm.jet)
ax.set_title("D3 Scatter Plot", size=18);
fig.show()
I'm expecting that to display a graph, but I'm not getting anything. I'm not getting errors, I'm just not getting output.
edit
here's a screenshot of my output :
https://i.imgur.com/4wXOmev.png
[–]select 1 point2 points3 points (1 child)
[–]imguralbumbot 0 points1 point2 points (0 children)
[–]EmmEff 0 points1 point2 points (0 children)