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 twins does not function

    Pythonista
    1
    3
    1690
    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.
    • cvp
      cvp last edited by

      I try to use matplotlib TWINS like in a sample (link text)but it is refused..
      I only want to display y-axis values/ticks on both sides (same scale).
      Thanks for your help

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

        It seems that twinx and twiny exist but not twins!

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

          Resolved:

          ax2 = ax1.twinx()
          ax2.set_ylim(ax.get_ylim())

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