question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make plot_scatter() available to user

See original GitHub issue

Currently, 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:closed
  • Created 4 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ivirshupcommented, Nov 14, 2019

@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.

1reaction
VolkerBergencommented, Nov 13, 2019

In scvelo I have decided to handle everything within one single pl.scatter module, where you can pass anything to basis, x, y and color 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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found