Skip to content

Commit

Permalink
update dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mdancho84 committed Nov 2, 2024
1 parent aa7b6f7 commit 315c171
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pytimetk/plot/plot_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,18 @@ def _plot_timeseries_plotly(
y=plotly_dropdown_y,
yanchor="top",
showactive=True,
font=dict(
size=8 # Adjust the font size to make the dropdown text smaller
),
pad=dict(
r=1, # Reduce right padding
t=1, # Reduce top padding
l=1, # Reduce left padding
b=1, # Reduce bottom padding
),
# bgcolor='rgba(255, 255, 255, 0.5)', # Set a transparent background for a sleek look
# bordercolor='gray', # Optionally add a border color
borderwidth=1
)
],
title=f"{title} - {unique_group_names[0]}",
Expand Down

0 comments on commit 315c171

Please sign in to comment.