Skip to content

table pdf exports with line #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
priyatharsan opened this issue Nov 15, 2018 · 12 comments
Closed

table pdf exports with line #147

priyatharsan opened this issue Nov 15, 2018 · 12 comments

Comments

@priyatharsan
Copy link

related to https://github.com/plotly/streambed/issues/11618

The issue still seems to persist in few environments. The PDF exports display line in the following environments:
user at intercom: Windows 10 / Chrome viewer
@priyatharsan Windows 10 / Adobe-reader
@nicolaskruchten MacOS10.13 / Chrome70

It did not show any lines in: MacOS10.13 / Preview

Example plots: https://plot.ly/python/table/#row-color-based-on-variable
https://plot.ly/python/table/#alternating-row-colors
Please note:

  • the plot was tested by recreating them in the respective environments
  • also, the rest of the plots in https://plot.ly/python/table did not display any lines in the exported PDF in the above mentioned environments
@etpinard
Copy link
Contributor

Can you try opening

fig.pdf

on whichever platform that is still showing erroneous lines?

@priyatharsan
Copy link
Author

I don't see the line in this pdf used Adobe reader

@priyatharsan
Copy link
Author

@etpinard can you try testing with this plot instead? https://plot.ly/python/table/#row-color-based-on-variable

@etpinard
Copy link
Contributor

Here's the output of

./bin/orca.js graph https://plot.ly/~jordanpeterson/410.json --format pdf

fig.pdf

No erroneous lines in evince nor in the Chrome PDF viewer.

@priyatharsan
Copy link
Author

Yeah I don't see the line in that file too.

@etpinard
Copy link
Contributor

Already, we'll looks like this isn't a problem with orca nor with plotly.js. Something must be up with our prod image server machine. Can someone confirm that they are all using [email protected]?

@priyatharsan
Copy link
Author

https://github.com/plotly/plotly.py/blob/master/js/package.json#L34
I think the issue is specific to python API.

@priyatharsan
Copy link
Author

Do we have any updates regarding this issue?

@etpinard
Copy link
Contributor

No updates. Nothing makes me believe this problems has to do with orca or plotly.js.

@etpinard
Copy link
Contributor

@priyatharsan I'll close this ticket

The latest version of orca, plotly.py and plotly.js are able to export that table graph w/o the erroneous line

@priyatharsan
Copy link
Author

@etpinard Thanks for the update 👍

@etpinard etpinard closed this as completed Dec 3, 2018
@vishalsharma3003
Copy link

I had the same problem and there is not much information provided. I don't know the exact reason why the erroneous line is there in these graphs but I have a workaround for this.
Try setting the background color of the graph and you'll notice that the line is aligned with the background so I adjusted the margins and put the right margin to zero and the problem was resolved.

layout(margin = list(r = 0, pad = 0))

Before:
image

After:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants