plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

Printing changes layout of the graph

Open nyan314sn opened this issue 9 years ago • 5 comments

Here is the graph that I created using Plotly python ( dash to be specific ) rendered in Chrome. But, I don't think it should matter in this case.

image

Here is what it looks like when I tries to print in Chrome

image

As one can see, the underlying grid lines become too think. What can I do to make sure that the print accurately reflect what I plot ?

nyan314sn avatar Nov 27 '17 23:11 nyan314sn

What can I do to make sure that the print accurately reflect what I plot ?

I have no idea. Thanks for pointing this out though.

etpinard avatar Nov 28 '17 15:11 etpinard

Related: https://github.com/plotly/plotly.js/issues/1275

etpinard avatar Dec 01 '17 14:12 etpinard

I saw the same thing when looking at print preview in Chrome but when I actually print out the chart, on paper the grid lines look like they are the correct width.

ricazhang avatar Jan 08 '18 21:01 ricazhang

Hi,

Any idea on how to solve this? It looks as intended on Chrome and Firefox but line are getting dark when printing from Chrome while it is OK when printing using Firefox:

Displayed on both Chrome & Firefox:

browser-chrome

Printed as PDF from Chrome: printed-chrome

HedgeShot avatar Dec 09 '19 14:12 HedgeShot

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

gvwilson avatar Jun 10 '24 21:06 gvwilson