-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
I produce a histogram plot to show how some power values exceed a threshold.
This is what I see onscreen (snapshot with Spectacle in Ubuntu):

As you can see, on the right of the red line there are some outliers.
Saving the image by pressing the Camera icon without changing any parameter, these details are lost:

I tried to save the image with pio instead:
import plotly.io as pio # uses kaleido
...
pio.write_image(fig, 'filename.png', width=2000, height=750) and at high resolution the details are again missing:

At a lower resolution (width=1000px, height=375), they are shown:

I understand that it is a problem with bitmap resampling, but results should be consistent and possibly based on what it is seen onscreen. A customer of mine complained that he couldn't see the outliers in a couple of plots out of a dozen, while onscreen I could see them all.