Open
Description
Hi,
I am trying to write plot into PDF format, but I cannot get rid of this box saying "Loading [MathJax]/extensions/MathMenu.js", will you be able to tell me how should I fix it?
Here is the code I am using to generate the plot.
fig = go.Figure()
fig.add_trace(go.Scatter(x=[0, 1, 2, 3, 4, 5], y=[0.5, 0.6, 0.7, 0.8, 0.9, 0.9], name='A',
line=dict(width=4), marker=dict(size=15, symbol='star')))
fig.add_trace(go.Scatter(x=[0, 1, 2, 3, 4, 5], y=[0.4, 0.4, 0.4, 0.4, 0.4, 0.4], name='B',
line=dict(width=4), marker=dict(size=15, symbol='circle')))
fig.add_trace(
go.Scatter(x=[0, 1, 2, 3, 4, 5], y=[0.51, 0.52, 0.53, 0.54, 0.55, 0.56], name='C',
line=dict(width=4), marker=dict(size=15, symbol='x')))
fig.update_layout(
yaxis_range=[0.2, 1],
legend=dict(
x=0,
y=0,
traceorder="reversed",
title_font_family="Times New Roman",
font=dict(
family="Courier",
size=16,
color="black"
),
bgcolor="LightSteelBlue",
bordercolor="Black",
borderwidth=2
)
)
fig.write_image("1.pdf")
fig.show()