Skip to content

Commit

Permalink
Fix plotly menubar
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven authored Sep 20, 2024
1 parent 818314a commit d24a510
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/haddock/libs/libplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,9 @@ def _css_styles_for_report(offline: bool) -> str:
tr:nth-child(even) {
background-color: #f2f2f2
}
.js-plotly-plot .plotly .modebar svg {
display: inline;
}
"""
css_link = "https://cdn.jsdelivr.net/npm/@i-vresse/haddock3-ui@~0.3.0/dist/index.css"
if offline:
Expand Down Expand Up @@ -1505,4 +1508,4 @@ def make_traceback_plot(tr_subset, plot_filename):
figure_height=1200,
figure_width=2000
)
return plot_filename
return plot_filename

0 comments on commit d24a510

Please sign in to comment.