scverse / scanpy-tutorials

Scanpy Tutorials.
https://scanpy-tutorials.readthedocs.io/
189 stars 117 forks source link

Update Marsilea example notebook #101

Closed Mr-Milk closed 7 months ago

Mr-Milk commented 7 months ago
review-notebook-app[bot] commented 7 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

ivirshup commented 7 months ago
image

Any chance this could be a little nicer? I think a rotation of the label could be more readable.

This is getting a little fancier, but could you also remove the updates for pngs which don't seem to actually be changing?

Mr-Milk commented 7 months ago

Sure the label can be rotated.

I'm not sure how to remove the updated picture, the notebook store image in base64, if I rerun the notebook the image encoding will be different even though the image look the same. Do you have any idea how to do it?

flying-sheep commented 7 months ago

There’s no real way other than manually discarding these changes (Some diff editors such as VS Code’s as of last release can discard a single change instead of the whole file)

But don’t worry about it. Once things get too big, people can always do git clone --filter=blob:none to skip downloading old files.

review-notebook-app[bot] commented 7 months ago

View / edit / reply to this conversation on ReviewNB

flying-sheep commented on 2024-04-25T08:59:34Z ----------------------------------------------------------------

The group_rows can group heatmap by group labels

Should be “The group_rows method can …” or “group_rows can …”

the order define the display order of each cell types

“defines” and either “of each cell type” or “of cell types”


review-notebook-app[bot] commented 7 months ago

View / edit / reply to this conversation on ReviewNB

flying-sheep commented on 2024-04-25T08:59:35Z ----------------------------------------------------------------

As Isaac said, would be great to rotate the labels.

Ideally all that fit by 90 deg, and the ones that are close together by 45 deg, but rotating all by 45 deg would also work I think.


Mr-Milk commented on 2024-04-26T08:46:46Z ----------------------------------------------------------------

I've change the labels on the right side, do you mean rotate these labels or the axis labels for numbers?