You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see a similar issue when exporting to pdf. Nearly 2 years ago, the following worked for me:
# -------------------------- first time -------------------------- #importplotly.expressaspximporttimefile_Name="some_Figure.pdf"fig_Throw_Away=px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
fig_Throw_Away.write_image(file_Name, format="pdf")
time.sleep(0.1)
# delete the dummy file againpath_Cwd=Path.cwd()
file_2_Del=path_Cwd/file_NamendErrorexceptionswillbeignored (samebehaviorasthePOSIXrm-fcommand).
file_2_Del.unlink(missing_ok=True)
# ------------------------ end first time ------------------------ #ndError exceptions will be ignored (same behavior as the POSIX rm -f command).file_2_Del.unlink(missing_ok=True)
# ------------------------ end first time ------------------------ ## now run your actual code to generate the plot that you like
The idea is to create a dummy plot, wait a bit and after the waiting you can plot your actual figure that you like. Again, no guarantees, but it worked for me some time ago
changed the title [-]How to remove `Loading [MathJax]/extensions/MathMenu.js`[/-][+]remove `Loading [MathJax]/extensions/MathMenu.js` message[/+]on Aug 12, 2024
Activity
[-]How to remove [/-][+]How to remove `Loading [MathJax]/extensions/MathMenu.js`[/+]zhimin-z commentedon Aug 27, 2023
Similar to #3469, any idea? @nicolaskruchten @chriddyp @jonmmease
Fratorhe commentedon Feb 2, 2024
Do you have any updates on this?
Coding-with-Adam commentedon Feb 5, 2024
Sorry but we don't have updates on this issue as of yet.
jav-ed commentedon Mar 14, 2024
I see a similar issue when exporting to pdf. Nearly 2 years ago, the following worked for me:
The idea is to create a dummy plot, wait a bit and after the waiting you can plot your actual figure that you like. Again, no guarantees, but it worked for me some time ago
[-]How to remove `Loading [MathJax]/extensions/MathMenu.js`[/-][+]remove `Loading [MathJax]/extensions/MathMenu.js` message[/+]emilykl commentedon Aug 31, 2026
plotly.py v7.0.0 now bundles MathJax v3 rather than v2 (see #5684), and the message bar is no longer included in v3, so this is resolved.
Note that Kaleido v1.4.0 or greater must be used for generating images, since that is the first version which uses MathJax v3 by default.