title: using pickle with matplotlib interactive figure
body: <p>I have an interactive matplotlib figure that I would like to be able to access post generation and modify. Specifically I have a slider that modifies the line data in a subplot, and i would like to be able to go back and interact with this slider at any time after the image is originally created. From what I read <a href="https://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object">here</a>, pickle should be able to do this for me. However, when I try to load my .pickle file the script runs and nothing opens. Any thoughts?</p>
  
  <p>For creating the file:</p>
  
  <pre><code>plt.show()
  pickle.dump(fig, open(r"C:/users/.../file.pickle", 'wb'))
  </code></pre>
  
  <p>For reading the file:</p>
  
  <pre><code>ax = pickle.load(open(r'C:/Users/.../file.pickle', 'rb'))
  
  plt.show()
  </code></pre>