Open anaderi opened 3 years ago
- it is not obvious how to display a saved display (image)...
Yeah I'd like to improve the contract here to make it better but still easy to use. Happy to hear suggestions.
- There is a an unnecessary ambiguity for the word 'display' here. it denotes type of scrap as well as scrap output flag upon saving
This comes from the encoder having the 'display' name as well as the contents of the scrap having a display attribute since the visual is independent of the data that generated said visual. Maybe 'display-only' encoder would be clearer naming convention?
- as I glue a display, it is always shown twice.
plt.ioff()
doesn't help.
That sounds like a bug that needs investigating
@MSeal
it is not obvious how to display a saved display (image)...
Since the latest version of matplotlib
officially supports pickling, using a pickle
-r to encode the whole matplotlib
figure could solve the problem. See #91 for implementations and more.
plt.ioff()
doesn't help.here is the snippet for displaying image:
due to (3) I had to disable image scraping for the moment. :(