add a button to copy image to clipboard
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.3k
- Forks
- 2k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 28
Beschreibung
When using Plotly in Jupyter (Either with Python or Julia) I appreciate the interactivity of Plotly.
It is a great experience compared to Matplotlib.
Yet I miss the ability to copy the image into clipboard in a click.
I'd like to have a button, just like the Download PNG button which instead of downloading the file will copy the bitmap into the clipboard.
It seems users are looking for such feature, though for now they try creating a bypass:
I found that R users are also interested in this feature: https://stackoverflow.com/questions/72323149.
Any chance to have this feature added built in?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die bestehende Implementierung der Schaltfläche Download PNG in plotly.js zu finden, und überprüfe, wie sie die Bitmap erzeugt. Definiere das erforderliche Verhalten im Browser und in Jupyter zum Kopieren dieses Bildes in die Zwischenablage, füge anschließend Abdeckung für die unterstützte Interaktion hinzu und verifiziere, dass die neue Schaltfläche neben dem bestehenden Download-Steuerelement funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, jupyter
- Bereich
- data-visualization, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100