-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Table exports with a long line in PDFs #1280
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
Comments
Could you explain how the PDF is being generated? It looks like the code above uploads the plot to Chart Studio but doesn't produce a pdf. Are you using |
Apologies for not being clear. I'm exporting from the plot's view page: https://plot.ly/~priyatharsan/977/ |
No problem. So at that point, the figure has moved out of plotly.py and is being stored in JSON form on chart studio cloud. Could you try to identify a difference in the JSON representation between the figure that exports properly and the one that doesn't? |
Here is the plot that exports with a line: https://plot.ly/~priyatharsan/977/ |
If I understand correctly, here's the JSON of the figure that exports with the line:
Here's the pdf I get when exporting this to a PDF using plotly.py and orca directly with Do you see a line here? Also, I noticed in plotly/orca#147 that @etpinard asked
and you answered by referencing the version specified in the plotly.py repo. This is the plotly.js version that is used when exporting to an image locally (using plotly.py's |
@priyatharsan I'll close this ticket The latest version of orca, plotly.py and plotly.js are able to export that |
@jonmmease No I don't see any line.
Apologies for the confusion and it makes more sense now as when I tried with plotly.py's @etpinard Thank you for the update I will follow-up with issue's status at https://github.com/plotly/streambed/issues/11618 |
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. layout(margin = list(r = 0, pad = 0)) |
related to: plotly/orca#147 and https://github.com/plotly/streambed/issues/11618
The PDF exports display line in the following environments:
Example :
Please note that this behavior is happening only when saving via Python API call and exporting via the plot's view page at plot.ly. I don't see the line when saving/exporting via Chart studio.
The text was updated successfully, but these errors were encountered: