-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PNG export for Notebook's visualization blocks (#52)
* feat: add png export for visualization blocks * refactor(visualization-block): replace var with const * refactor(visualization-block): move png download algorithm to a separate file * feat(python-output): add png export button * feat: change "PNG" button text color * feat(visualization-block): enable export button if controls are visible * fix: add timeout to ensure the canvas gets updated * fix: hide button if chart type doesn't support export * fix(visualization): correct the comment grammar Co-authored-by: Lucas da Costa <[email protected]> * refactor(utils/file): remove unsupported browsers if statement - Briefer doesn't support Internet Explorer * feat(python-output): display export button for multiple outputs - download PNG with block-id as name * feat(python-output): apply suggested 'PNG' button css --------- Co-authored-by: Lucas da Costa <[email protected]>
- Loading branch information
1 parent
26d3c43
commit 6f1ba2a
Showing
5 changed files
with
84 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters