I write a code for example like this for ploting:
<code>import matplotlib.pyplot as plt
x = [1, 2, 3]
y = [1, 2, 3]
plt.plot(x, y)
plt.title("s")
plt.xlabel("x")
plt.ylabel("sin(x)")
plt.show()
</code>
<code>import matplotlib.pyplot as plt
x = [1, 2, 3]
y = [1, 2, 3]
plt.plot(x, y)
plt.title("s")
plt.xlabel("x")
plt.ylabel("sin(x)")
plt.show()
</code>
import matplotlib.pyplot as plt
x = [1, 2, 3]
y = [1, 2, 3]
plt.plot(x, y)
plt.title("s")
plt.xlabel("x")
plt.ylabel("sin(x)")
plt.show()
When I write directly in colab it runs carrectly , but when I write in pycharm then run with cloab it dosnt show any plot. I would be grateful if you could help me.
I write plot code but it dosnt show any plot.
New contributor
user23366824 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.