Skip to content

My LaTeX strings look bold when exporting in .pdf and .eps #196

Closed
@Ipuch

Description

@Ipuch

I'm using plotly to generate my figures for a research article, in pycharm. I need to export my figure in .eps or .pdf and I have an issue that doesn't appear if I export in png.

LaTeX strings got bold when exporting the figure. I don't know how to resolve the problem. Do you know any command to remove this bold effect?

image
q_integrated.pdf

Here is the python code to write the labels for example:

for i in range(2, rows + 1):
    fig.update_yaxes(row=i, col=1, title=r"$\text{q (degree)}$")
for i in range(1, cols + 1):
    fig.update_xaxes(row=rows, col=i, title=r"$\text{Time (s)}$")

#This is how I export the figure:

python fig.write_image(out_path_file + "/q_integrated.png")
fig.write_image(out_path_file + "/q_integrated.pdf")
fig.write_image(out_path_file + "/q_integrated.eps")

Metadata

Metadata

Assignees

Labels

P3not needed for current cyclebugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions