empty png
See original GitHub issueUsing 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:
- Created 6 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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?
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.