There was some major refactoring recently, it seems that plotting a categorical variable to shapes stopped working.
importspatialdata_plotimportmatplotlib.pyplotaspltfromspatialdata.datasetsimportblobs_annotating_elementsdata=blobs_annotating_element('blobs_circles')
sdata['table'].obs['category'] = ['a', 'b', 'c', 'a', 'b']
sdata.pl.render_shapes('blobs_circles', color='category').pl.show()
plt.show()Some tests are currently not passing. Is the case above one of the tests that don't pass? If not, I would suggest to generalize the code above for any element and add tests.
There was some major refactoring recently, it seems that plotting a categorical variable to shapes stopped working.
Some tests are currently not passing. Is the case above one of the tests that don't pass? If not, I would suggest to generalize the code above for any element and add tests.