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.

Using bqplot 0.10.1 on Ubuntu, I’m unable to save any png. It just creats an empty image.

This happens with both APIs, either using the save widget or the fig.save_png.

from bqplot import pyplot as plt

plt.figure(title='My First Plot')
plt.plot(x_data, y_data)
plt.show()
from bqplot import *

x_sc = LinearScale()
y_sc = LinearScale()

scatter_chart = Scatter(x=x_data, y=y_data, scales={'x': x_sc, 'y': y_sc})

x_ax = Axis(label='X', scale=x_sc)
y_ax = Axis(label='Y', scale=y_sc, orientation='vertical')

fig = Figure(marks=[scatter_chart], axes=[x_ax, y_ax])
fig.save_png()

Any clues?

By the way, thanks a lot for such an awesome library.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dmadekacommented, Feb 19, 2018

@lincolnfrias I think we’ve had a good bit of issues with non-Chrome browsers. @SylvainCorlay should we consider saying Chrome is our supported browser?

1reaction
lincolnfriascommented, Feb 15, 2018

Great tip, @DougRzz. It worked on Chrome in my Ubuntu 16.04. Thanks a lot. So, at least in my case, it seems to be an issue in Firefox (58). I even disabled uBlock Origin, since I had problem with it on similar situations, but it didn’t solve this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

File:Empty.png - Wikimedia Commons
SummaryEdit. Transparent placeholder image to be used where templates require an image so as not to break general syntax.
Read more >
Transparent PNG Pixel Base64 Encoded
Online PNG pixel generator. Create a transparent PNG Pixels base64 encoded. ... We always try to generate the smallest possible PNG image.
Read more >
Empty PNG Transparent Images Free Download | Vector Files
Are you searching for Empty png hd images or vector? Choose from 48000+ Empty graphic resources and download in the form of PNG,...
Read more >
File:Blank.png - Wikipedia
The uploader or another editor requests that a local copy of this file be kept. This image or media file is available on...
Read more >
Empty png images - PNGWing
Polaroid, Picture, Frame, Empty, png 1054x1280px 317.12KB; Wood, Wood signs, ... Snow globe, Empty Snow Globe, white, winter, sphere png 6998x8000px 5.18MB ...
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