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.


    Regarding the forced termination problem with matplotlib.pyplot

    Pythonista
    3
    4
    2743
    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.
    • WayneJang
      WayneJang last edited by

      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

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

        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']
        
        1 Reply Last reply Reply Quote 0
        • WayneJang
          WayneJang last edited by

          I currently use App version.
          I followed your advice, and it worked well!

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

            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.

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