You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
It pains me to bring up these export_png-related issues... but here I go again. This time it is an error that shows up when using export_png() and show() together:
...but in 1.0.0, it throws the following error for the line show(doc_layout): RuntimeError: Models must be owned by only a single document, HelpTool(id='1026', ...) is already in a doc
Using show(fig) instead of show(doc_layout) works, as well (but that is not really a workaround).
Using export_pngaftershow works, too. This could be a workaround in most use cases, but is quite inconvenient in mine.
Many thanks for the 1.0 release, anyway. I read about it in the change log, and it really feels like the export function is now faster for multiple exports!
Hi there!
It pains me to bring up these export_png-related issues... but here I go again. This time it is an error that shows up when using
export_png()andshow()together:In 0.13.0, the following works just fine:
...but in 1.0.0, it throws the following error for the line
show(doc_layout):RuntimeError: Models must be owned by only a single document, HelpTool(id='1026', ...) is already in a docSome observations:
export_pngorshowworks.show(fig)instead ofshow(doc_layout)works, as well (but that is not really a workaround).export_pngaftershowworks, too. This could be a workaround in most use cases, but is quite inconvenient in mine.Many thanks for the 1.0 release, anyway. I read about it in the change log, and it really feels like the export function is now faster for multiple exports!