Dan Li

Results 27 comments of Dan Li

@slundh Thanks a lot for the information! When I install `ggplot2_3.4.2`, there is an `Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: double)`, how did you...

> Hey @danli349, sorry for the super late reply. I added in a fix for this, and this will be included in the 1.0.3 release That's great! Thanks a lot

@nx10 Thanks a lot! browser is Google Chrome, ```r > sessionInfo() R version 4.3.2 (2023-10-31 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 11 x64 (build 22631) Matrix products: default locale:...

@flying-sheep Thanks for helping! I tried your code, but it does not work as expected. ``` class MyStackedViolin(sc.pl.StackedViolin): def _plot_colorbar(self, color_legend_ax, normalize): mappable = ScalarMappable(norm=normalize, cmap=colormaps[self.cmap]) Colorbar(color_legend_ax, mappable=mappable, orientation='vertical') vp...

@flying-sheep Thanks! Now it works better, but the size is out of control. ![image](https://github.com/scverse/scanpy/assets/33963919/75aff552-647b-4097-b8be-f366655c7a45) When I combine several plots together using `plt.subplots` ``` from matplotlib.pyplot import rc_context with rc_context({'figure.figsize': (3,...

Yes I would like to separate both `sample` and `leiden_r1`, I should create a new variable `adata.obs['leiden+sample']`.