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.

Documentation for pl.scatter

See original GitHub issue

Hi,

Some of the parameters documented online for pl.scatter are not accepted by the method: ncols, wspace, hspace. And some are not documented: right_margin, left_margin.

The difference seems to come from the parameters described in {scatter_bulk} and used for pl.scatter documentation.

What should be fixed scatter_bulk or inputs for pl.scatter?

Bérénice

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
fidelramcommented, Mar 25, 2019

@fabianrost84 The ‘layers’ were not added to anndata until recently and had not been implemented in all functions. However, adding this functionality to the different scatter plot functions is straightforward.

Let me prepare a quick PR.

0reactions
flying-sheepcommented, Mar 26, 2019

copy paste

please never say those words when speaking about code again 😜

No but seriously: There’s at least 6 reasons not to do that and to introduce a second (temporary) variable instead: https://github.com/theislab/scanpy/pull/557#issuecomment-476512533

Read more comments on GitHub >

github_iconTop Results From Across the Web

scanpy.pl.scatter — Scanpy 1.9.1 documentation
Scatter plot along observations or variables axes. Color the plot using annotations of observations ( .obs ), variables ( .var ) or expression...
Read more >
matplotlib.pyplot.scatter — Matplotlib 3.6.2 documentation
A scatter plot of y vs. x with varying marker size and/or color. Parameters: x, yfloat or array-like, shape (n, ). The data...
Read more >
Documentation for pl.scatter #458 - scverse/scanpy - GitHub
Hi, Some of the parameters documented online for pl.scatter are not accepted by the method: ncols, wspace, hspace.
Read more >
Simple Scatter Plots | Python Data Science Handbook
Another commonly used plot type is the simple scatter plot, ... can be seen in the documentation of plt.plot , or in Matplotlib's...
Read more >
matplotlib.pyplot.scatter() in Python - GeeksforGeeks
s- marker size (can be scalar or array of size equal to size of x or y); c- color of sequence of colors...
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