Make plot_scatter() available to user
See original GitHub issueCurrently, if users are to make scatter plots based on non-standard embeddings, they use sc.pl.scatter()
, which is functionally similar to plot_scatter()
but not exactly the same. Be able to plot non-standard embeddings alongside standard embeddings (e.g. using sc.pl.umap()
) in exactly the same size and style is often desired. For this reason, do you think it’s ok to export plot_scatter()
or even export it as sc.pl.scatter()
? Many thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Visualizing Data in Python Using plt.scatter()
Create a scatter plot using plt.scatter(); Use the required and optional input parameters; Customize scatter plots for basic and more advanced plots; Represent ......
Read more >A Complete Guide to Scatter Plots - Chartio
Scatter plots are an essential type of data visualization that shows relationships between variables. Use this tutorial to learn how to use this...
Read more >Simple Scatter Plots | Python Data Science Handbook
Another commonly used plot type is the simple scatter plot, a close cousin of the line plot. Instead of points being joined by...
Read more >Python Scatter Plot - How to visualize relationship between ...
Scatter plot is a graph of two sets of data along the two axes. ... Then use the plt.scatter() function to draw a...
Read more >Scatter plot - MATLAB scatter - MathWorks
This MATLAB function creates a scatter plot with circular markers at the locations specified by the vectors x and y.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@flying-sheep, didn’t @fidelram implement this as
sc.pl.embedding
in #794? I think it got discussed in a different issue (https://github.com/theislab/scanpy/issues/762#issuecomment-517978906), so this didn’t get closed.In scvelo I have decided to handle everything within one single
pl.scatter
module, where you can pass anything tobasis
,x
,y
andcolor
from obs/var keys to arrays to lists of such. The implementation is rather simple and condensed, and @flying-sheep I’m happy to support you if (partly) merging into scanpy sounds reasonable to you.You find some exemplary use cases in this notebook: https://scvelo-notebooks.readthedocs.io/Pancreas.html