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 pinch/pan dynamic view

    Pythonista
    1
    1
    1065
    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.
    • JonB
      JonB last edited by

      https://github.com/jsbain/objc_hacks
      I added MPLView.py as a two finger pan/zoom interface to matplotlib.
      still somewhat rough around the edges, but reasonably responsive, using low rez during positioning.

      this also is an example of using two simultaneous ObjC gesturerecognizers to simplify touch handling. this could have been done using conventional touch handling, but i eventually plan to add single tap cursor, and perhaps longtap property editing, etc

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