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.


    Simple script for drawing lines with or without arrowheads

    Pythonista
    1
    1
    1226
    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.
    • polymerchm
      polymerchm last edited by

      This gist is a simple script for drawing lines with an arrowhead on either or both ends. It's pretty self-explanitory. And yes, I wrote my own matrix multiplication dot product to avoid dragging in all of numpy.

      from ui_draw_arrow import ui_draw_arrow

      if you place it in the site-packages folder

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