Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #3005
save_png.mp4
Code
I don't know if this should also be made available for saving the template, right here:
panel/panel/template/base.py
Lines 247 to 249 in 5bd9fc8
I have observed that sometimes the saved plot is cropped, but I don't think this is related to the changes in the PR.
![cropped](https://user-images.githubusercontent.com/19758978/151701049-8eb6abf0-64a7-4df8-a5d0-37b536a43aea.png)
Cropped
Not cropped
![not cropped](https://user-images.githubusercontent.com/19758978/151701062-484b1a61-c0e1-4672-9ee8-cf300d08d8b2.png)