You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import plotly.express as px
px.histogram(
cdf,
x='diag',
histnorm='probability',
labels={'diag': 'cosine similarity'},
title='Cosine Similarity of Diagonal Samples',
color_discrete_sequence=['green'],
)
The y label is shown as count, I want the y label to be called probability.
I tried passing labels={'diag': 'cosine similarity', 'count': 'probability'} but that doesn't work? How do I change the y label ?