Skip to content

Commit

Permalink
Update html.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-migas committed Feb 7, 2025
1 parent 388ceda commit a410268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spec_utils/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def make_peaks_spectrum(
style="simple_white",
width: int = 400,
height: int = 350,
titles: list[str] | None = None,
titles: list[str] | None = None,
) -> go.Figure:
"""Export Plotly mass spectrum as HTML document."""
import plotly.graph_objects as go
Expand Down Expand Up @@ -240,7 +240,7 @@ def make_spectrum_with_scatter(
xaxis_title="m/z",
yaxis_title="Intensity",
template="simple_white",
width=1200, # Adjust width here
width=1200, #
height=800, # Adjust height here
yaxis={"range": [0, y_max * 1.05]},
)
Expand Down

0 comments on commit a410268

Please sign in to comment.