title: Is there a good tutorial on creating a custom plot object - class in python?
body: <p>I want to create an object class for custom plotting. I am looking for a good tutorial on object oriented intro for how to create your own plot object ( (possibly still using libraries like matplotlib under the hood)? </p>
  
  <p>E.g.</p>
  
  <pre><code>class myplot:
     def __init__(...
  
     def plotXYZgrpah(...
  </code></pre>