question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Save tool in gridplot initiates multiple downloads

See original GitHub issue

ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)

Bokeh 1.0.3 Python 3.5

Description of expected behavior and the observed behavior

Clicking ‘save’ tool on gridplot() downloads each subplot separately. Preferably, if the tools are merged, so would the plots be merged into a single image.

Complete, minimal, self-contained example code that reproduces the issue

import numpy as np
from bokeh.io import show
from bokeh.layouts import gridplot
from bokeh.plotting import figure


plots = []
for i in range(10):
    p = figure(plot_height=70,
               tools='save')
    p.line(np.arange(10), np.random.random(10))
    plots.append(p)

p = gridplot(plots, ncols=1)
show(p)


Screenshots or screencasts of the bug in action

screenshot_2019-01-01_05-02-18

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mattpapcommented, Feb 12, 2019

export_png() and save tool are two different things. There was no progress on this issue so far.

1reaction
tony-bonycommented, Feb 12, 2019

It is actually working (at least on Mac) using the export_png() method so I guess it’s been already implemented in 1.0.4… See this post

Read more comments on GitHub >

github_iconTop Results From Across the Web

multiple plots share same "save" - Bokeh Discourse
Hi guys, if I try to share “save” tool across multiple plots, ... Save tool in gridplot initiates multiple downloads · Issue #8531 ......
Read more >
Interactive Data Visualization in Python With Bokeh
This Python tutorial will get you up and running with Bokeh, using examples and a real-world dataset. You'll learn how to visualize your...
Read more >
Chapter 4. Visualization with Matplotlib - O'Reilly
We'll now take an in-depth look at the Matplotlib tool for visualization in ... let's start by downloading the digits data and visualizing...
Read more >
Avoid multiple copies of downloads - YouTube
If you get multiple copies of downloads, download (1), download (2), etc in Google Chrome, Mozilla Firefox or Microsoft Edge, I'll show you ......
Read more >
bokeh Changelog - pyup.io
8531 [component: bokehjs] Save tool in gridplot initiates multiple downloads - 8684 Allow at least partial alignment of fixed sized frames
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found