omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. craftmojo

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 8
    • Best 0
    • Controversial 0
    • Groups 0

    craftmojo

    @craftmojo

    0
    Reputation
    752
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    craftmojo Unfollow Follow

    Latest posts made by craftmojo

    • RE: Upgrade matplotlib to the latest

      Thanks for the answer.
      Is there any workaround, so I can use 1.5 lib for my code ?
      How about upgrade other modules like numpy, or install new module like sklearn.
      Is it possible ?

      posted in Pythonista
      craftmojo
      craftmojo
    • RE: Upgrade matplotlib to the latest

      Do I need extract the downloaded file (tar.gz) and then place it inside site-packages ?

      posted in Pythonista
      craftmojo
      craftmojo
    • Upgrade matplotlib to the latest

      I manage to download the latest matplotlib 1.5.1 using pipista. However, I dont know how to replace current matplotlib (1.3) and using it in my code.

      I couldnt run below code using current matplotlib:
      import numpy as np
      import matplotlib.pyplot as plt
      from matplotlib import style
      style.use("ggplot")

      x = [1, 5, 1.5, 8, 1, 9]
      y = [2, 8, 1.8, 8, 0.6, 11]

      plt.scatter(x,y)
      plt.show()

      Any help would be appreciated.

      Many Thanks.

      posted in Pythonista
      craftmojo
      craftmojo
    • RE: Wish list for next release

      Thanks for fast responses. Now, it worked :)

      posted in Pythonista
      craftmojo
      craftmojo
    • RE: string.maketrans() method not working

      I see. Now, it worked perfectly.
      So, in pythonista, this word already taken.

      Many thanks!

      posted in Pythonista
      craftmojo
      craftmojo
    • RE: string.maketrans() method not working

      This is my code:

      import string
      str = 'map.html'
      i = 'abcdefghijklmnopqrstuvwxyz'
      o = 'cdefghijklmnopqrstuvwxyzab'
      table = string.maketrans(i, o)
      print (str.translate(table))

      posted in Pythonista
      craftmojo
      craftmojo
    • RE: Wish list for next release

      Please fix string.maketrans() method. It not working at all. Thanks.

      posted in Pythonista
      craftmojo
      craftmojo
    • string.maketrans() method not working

      Today, I tried to code in pythonista for ios, everything seems okay. But, when I use maketrans method , it not working at all. What happened? I tried the code in pycharm, it worked perfectly.

      Please help.

      posted in Pythonista
      craftmojo
      craftmojo