Skip to content

Commit 76725b8

Browse files
committed
Lint
1 parent 09efe92 commit 76725b8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

quantflow/utils/plot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def plot_marginal_pdf(
4040
label: str = "characteristic PDF",
4141
log_y: bool = False,
4242
fig: Any | None = None,
43-
**kwargs: Any
43+
**kwargs: Any,
4444
) -> Any:
4545
"""Plot the marginal pdf on an input support"""
4646
check_plotly()
@@ -104,7 +104,7 @@ def plot_vol_surface(
104104
color_series: str = "side",
105105
fig: Any | None = None,
106106
fig_params: dict | None = None,
107-
**kwargs: Any
107+
**kwargs: Any,
108108
) -> Any:
109109
check_plotly()
110110
# Define a color map for the categorical values
@@ -144,7 +144,7 @@ def plot_vol_surface_3d(
144144
*,
145145
marker_size: int = 10,
146146
series: str = "implied_vol",
147-
**kwargs: Any
147+
**kwargs: Any,
148148
) -> Any:
149149
check_plotly()
150150
return px.scatter_3d(df, x="moneyness_ttm", y="ttm", z=series, color="side")
@@ -158,7 +158,7 @@ def plot_vol_cross(
158158
marker_size: int = 10,
159159
fig: Any | None = None,
160160
name: str = "model",
161-
**kwargs: Any
161+
**kwargs: Any,
162162
) -> Any:
163163
check_plotly()
164164
fig = fig or go.Figure()
@@ -188,7 +188,7 @@ def plot3d(
188188
z: FloatArray,
189189
contours: Any | None,
190190
colorscale: str = "viridis",
191-
**kwargs: Any
191+
**kwargs: Any,
192192
) -> Any:
193193
check_plotly()
194194
fig = go.Figure(

0 commit comments

Comments
 (0)