Matplotlib plt.scatter (1,1) crashes editor
lschweitzer last edited by ccc
I experience this problem on my iPad running iOS 9.3.2 using the latest Pythonista 2:
- I create a new empty script
- I then type in this code:
# coding: utf-8 import matplotlib.pyplot as plt plt.scatter (1,1) --> here the editor crashes
Then the editor disappears and I am back to the iPad's desktop. Pythonista still runs as I can see it when double-clicking on the iPad's Home button. The file exists but is empty.
When I copy-paste existing code that contains plt.scatter (10,20) the editor does not crash and the plot is displayed (this pasted code contains the plt.show() line). This seems to indicate that there might be an issue with the auto-fill?
I have removed Pythonista 2 and reinstalled it just in case, but this did not help. My iPad has roughly 3 Gb of free space. I can reproduce this every single time.
Any ideas? Many thanks - Luc
JonB last edited by JonB
There was an autocomplete issue with pythonista 2.7 running on pythonista3. This is fixed in the latest beta. I am not sure about the latest pythonista2...
Phuket2 last edited by
I tried the above without crashing in Pythonista 3 beta and Pythonista 2 beta. (Latest)