omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Matplotlib plt.scatter (1,1) crashes editor

    Pythonista
    scatter matplotlib
    3
    3
    2918
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lschweitzer
      lschweitzer last edited by ccc

      Hi,
      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

      1 Reply Last reply Reply Quote 0
      • JonB
        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...

        1 Reply Last reply Reply Quote 0
        • Phuket2
          Phuket2 last edited by

          I tried the above without crashing in Pythonista 3 beta and Pythonista 2 beta. (Latest)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors