@masonjargon/

test_01_broken

Python

Just see what I can do. I cannot get the image pane to reappear. Weird interface issue, it seems.

fork
loading
Files
  • main.py
  • plt.png
  • requirements.txt
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import matplotlib.pyplot as plt
import numpy as np
plt.plot()
p=3.0
y = np.power(np.arange(12),p)
plt.plot(range(12),y,'ro')
plt.grid(True)
plt.show()
plt.savefig('plt.png')
print ('hello world')
print (np.pi)

print 
print (range(5), type(range(4)))