-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Hello,
Thanks for making this package, especially plotly_express
which greatly simplify visualization tasks.
This issue is potentially related to #1700. I'd like to overlay a density plot and scatterplot in a ternary plot, like below:
(plot above from here
I'm plotting medians of gene expression across three species: mouse, lemur, and human. Here is the data I'd like to visualize, as a seaborn pairgrid:
The reason for this is because when I use px.scatter_ternary
, then the markers in the corners basically don't show up, but I know there are many points there, and I'd like to see that there are many there in the corner.
import plotly.express as px
fig = px.scatter_ternary(df_nonzero_for_plotly, color='de_species_logfoldchanges',
color_discrete_map=palette.to_dict(),
a="lemur", b="mouse", c="human",
hover_name="gene_name", opacity=0.5)
fig.show()
So here are my questions:
- Is it possible to turn off clipping/masking of the markers so the edges become more obvious?
- Is it possible to create a kernel density estimation (KDE) of the ternary density to overlay with a scatterplot?
Thank you!
Metadata
Metadata
Assignees
Labels
No labels