Skip to content

Warning sc.pl.scatter #690

Closed
Closed

Description

Hi I got this warning when I used sc.pl.scatter:

.../scanpy/plotting/_anndata.py:311: DeprecationWarning: Use obs_vector instead of _get_obs_array, _get_obs_array will be removed in the future.
  x_arr = adata._get_obs_array(x, use_raw=use_raw, layer=layers[0])
.../anndata/base.py:1618: FutureWarning: In a future version of AnnData, access to `.X` by passing `layer='X'` will be removed. Instead pass `layer=None`.
  FutureWarning

I would like to know if the plots generated with this warning are correct.
Thanks.

Activity

  1. LuckyMD commented on Jun 17, 2019

    @LuckyMD
    Contributor

    These are deprecation warnings, so there's no issue with the code for now. The plots should be generated as you expect.

  2. flying-sheep commented on Jun 21, 2019

    @flying-sheep
    Member

    We should fix the code throwing those, though.

  3. ivirshup commented on Jul 15, 2019

    @ivirshup
    Member

    @rbioinfo this should now be fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions