-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exporting pdf from notebook #519
Comments
Thanks for filing the issue, basically embedding a PDF viewer in the notebook is probably not a good idea and should be disabled. I'd suggest retaining PDF as an export format but disable displaying it in the notebook. |
I would hope the need for PDF is somewhat alleviated now that @RafalSkolasinski Would this be an acceptable solution for you? As Philipp says, PDF support in the notebook itself is tricky and unlikely to ever work properly. For that reason, I would seriously consider deprecating it. |
For the time being I've recommended using the renderer directly like this: hv.Store.renderers['matplotlib'].save(obj, filename, 'pdf') |
@philippjfr Maybe that is the best solution then? Disable pdf in the output magic but leave support at the renderer level? Certainly makes sense to me! |
I don't suppose |
From my point of view it would be nice to have support of saving to pdf On 25 February 2016 at 21:19, James A. Bednar notifications@github.com
|
@RafalSkolasinski Agreed! The problem we've never found a decent solution for inlining PDF output in the browser. If you have any suggestions, we'll definitely consider them. |
Hmmm... Maybe separate magic for exporting to file that wouldn't influence
|
It has been a while since I last tested it but the |
I don't think inlining PDF into the browser is the issue here, just the ability to get a PDF copy while seeing some version of the figure in the notebook (whether PNG or SVG). The notebook archive support should achieve this, but it is a fairly heavy weight way to do so if the cell output magic could do it... |
If you currently try to export pdf (holoviews==1.4.3) image to
pdf
withit export
pdf
correctly but screws up outputs in notebook, even for other cells.P.S. Please feel free to modify description or title of the issue
The text was updated successfully, but these errors were encountered: