Thanks for the reply. Unfortunately, I have a lot of preexisting python2 code and switching to 3 is not an option in the short run. I will definitely consider the upgrade and check out pythonista's 2to3 as soon as I can afford this.
Latest posts made by QuickPiz
RE: Bug report pythonista v3.2 (matplotlib, python2)
Bug report pythonista v3.2 (matplotlib, python2)
I have just upgraded pythonista to v3.2.
Unfortunately, this version broke pretty much all my scripts. :(
When I run something with matplotlib and python 2, pythonista crashes badly.
Even the simple example below crashes pythonista (if I use python 2) when it reaches the 'show' method. Python3 seems to work with this example (but I have way too much code to migrate to Python3 in the short run).
I need to find a way to downgrade pythonista to the previous version. Oh well.
Anyway, keep up the good work. This is an amazing IDE for iOS.
import numpy as np import matplotlib.pyplot as plt if __name__=='__main__': x,y,c = zip(*np.random.rand(30,3)*4-2) plt.plot(x,y,label="plop") plt.show()