Skip to content

Commit

Permalink
spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
sambra95 committed Feb 4, 2025
1 parent 1eb58ca commit f888465
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/proteusAI/visual_tools/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def plot_interactive_scatterplot(df, highlight_mask):
size=10, # Increase the size of the points
color="white", # Color based on normalized 'y'
),
name="Click to highlighted suggested samples",
name="Click to highlight suggested samples",
hoverinfo="skip",
)
)
Expand Down Expand Up @@ -682,8 +682,15 @@ def plot_interactive_scatterplot(df, highlight_mask):
linecolor="black",
zeroline=False, # Disable the x=0 line
),
legend=dict(
orientation="h", # Horizontal legend
yanchor="bottom", # Anchor to the bottom of the legend box
y=1.1, # Move the legend slightly above the plot
xanchor="center", # Center the legend horizontally
x=0.5, # Position at the center
),
template="plotly_white",
legend_title="Labels",

)

return fig
Expand Down

0 comments on commit f888465

Please sign in to comment.