stereo.plots.PlotCollection.interact_spatial_scatter#

PlotCollection.interact_spatial_scatter(inline=True, width=600, height=600, bgcolor='#2F2F4F', poly_select=False)[source]#

Interactive spatial distribution.

Parameters:
  • inline (Optional[bool]) – show in notebook.

  • width (Optional[int]) – the figure width in pixels.

  • height (Optional[int]) – the figure height in pixels.

  • bgcolor (Optional[str]) – set background color.

  • poly_select (Optional[bool]) – poly select or not.

  • reorganize_coordinate

    if the data is merged from several slices, whether to reorganize the coordinates of the obs(cells), if set it to a number, like 2, the coordinates will be reorganized to 2 columns on coordinate system as below:

    data1 data2
    data3 data4
    data5 …
    … …

    if set it to False, the coordinates will not be changed.

  • horizontal_offset_additional – the additional offset between each slice on horizontal direction while reorganizing coordinates.

  • vertical_offset_additional – the additional offset between each slice on vertical direction while reorganizing coordinates.