NIST-ISODB / isotherm-digitizer-panel

Contribution form for NIST adsorption isotherm database implemented using pyviz panel
2 stars 3 forks source link

consider adding capability to copy-paste image from clipboard #42

Open ltalirz opened 4 years ago

ltalirz commented 4 years ago

See https://stackoverflow.com/a/50427897/1069467

Until this is supported by the webplotdigitizer as well, however, people will still have to save the screenshot in a file, making this not very useful.

ltalirz commented 3 years ago

It actually is supported by the webplot digitizer

ltalirz commented 3 years ago

I've added the JS part to set the content of the file input from copy-paste in https://github.com/NIST-ISODB/isotherm-digitizer-panel/commit/9e4462261c7cef3ca91c3b56e4bfcf11e5472192

However, for some reason, this does not seem to trigger an update of the object on the python side. Probably one has to figure out how to interact with the PanelJS library