# Obtain pixel grid from scanpy.pl.spatial

**URL:** <https://discourse.scverse.org/t/obtain-pixel-grid-from-scanpy-pl-spatial/1538>\
**Category:** scanpy\
**Created:** [June 21, 2023, 5:25pm UTC](https://discourse.scverse.org/t/obtain-pixel-grid-from-scanpy-pl-spatial/1538 "2023-06-21T17:25:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bakar](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@Bakar](https://discourse.scverse.org/u/Bakar)\
**Post date:** [June 21, 2023, 5:25pm UTC](https://discourse.scverse.org/t/obtain-pixel-grid-from-scanpy-pl-spatial/1538/1 "2023-06-21T17:25:26Z")

</div>

Hi,

Is there a way to obtain the pixel grid coordinates from using **scanpy.pl.spatial** after passing in the parameters?
