Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Regarding the forced termination problem with matplotlib.pyplot
-
I have used Pythonista really well, and used it to solve interesting mathematical and statistical challenging questions.
But there is one problem related with matplotlib.pyplot - my Pythonista app running on my iPad Air 2 encounters forced terminations whenever I type "import matplotlib.pyplot as plt"I tried both Python 2.7 and 3.5, and both faced same problem.
Is there any other way that I could fix this bug?Thanks in advance
Wayne Wonbong Jang -
Are you using the beta, or app store version?
There is a problem in the appstore version which is related to autocomplete.
You may want to upgrade to the beta ... there is a signup form around somewhere on the forums.You may also be able to work around this by preventng autocompletion from working. Below might work, not sure.
import matplotlib.pyplot plt=sys.modules['matolotlib.pyplot']
-
I currently use App version.
I followed your advice, and it worked well! -
The other workaround is mentioned here. Enter a
#
and then type your line and then go back and remove the#
. Autocomplete does run the same way on commented text so no autocorrect crash.