You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In seaborn, the docstring example plots are shown as part of the documentation. Would be great to have this as part of scanpy as this will motivate the creation of more examples as part of the docstring while keeping them up-to-date.
@fidelram that's a really great point and something I'd like to discuss at next meeting (already put it in the agenda).
Another great example of such examples 😅 is the way @michalk8 set it up for cellrank and squidpy [not yet public].
The even nicer thing is that @michalk8 implemented a CI pipeline for the tutorials/examples part of the repo so that every time there is a change in master of the original repo, the examples are refreshed in the notebooks repo, so to have them always up to date.
Would be really cool to concentrate efforts and try to get this logic also in scanpy (makes it both very user friendly and robust from a maintainer perspective)
Activity
giovp commentedon Jan 22, 2021
@fidelram that's a really great point and something I'd like to discuss at next meeting (already put it in the agenda).
Another great example of such examples 😅 is the way @michalk8 set it up for cellrank and squidpy [not yet public].
The even nicer thing is that @michalk8 implemented a CI pipeline for the tutorials/examples part of the repo so that every time there is a change in master of the original repo, the examples are refreshed in the notebooks repo, so to have them always up to date.
Would be really cool to concentrate efforts and try to get this logic also in scanpy (makes it both very user friendly and robust from a maintainer perspective)
ivirshup commentedon Jan 24, 2021
I would love to have this! I've been talking about this with @falexwolf and a bit with @flying-sheep.
Seaborn uses a sphinx extension from
matplotlibto generate the plots (plot directive).I would definitely like to get tutorials running on CI as well, but think this is a little separate (some previous discussion: #302).
fidelram commentedon Jan 29, 2021
I tried the sphinx extension but could not get any result. Can somebody take over this?
ivirshup commentedon May 11, 2021
Closed, as the initial issue is done, and being tracked elsewhere.