Additional function parameters / changed functionality / changed defaults?
Please describe your wishes
Hi!
I've been playing around with the add_totals method for dotplot.
My general issue is that the labels on the barplots showing the number of cells per group is slightly covered by the barplot/too far to the left.
and then possibly moving the axes of the legends further to the right:
I'm moving the axis manually, but it would be nice for it to automatically to move the axis, so that it is always a clear visualization.
What kind of feature would you like to request?
Additional function parameters / changed functionality / changed defaults?
Please describe your wishes
Hi!
I've been playing around with the add_totals method for dotplot. My general issue is that the labels on the barplots showing the number of cells per group is slightly covered by the barplot/too far to the left.![image](https://github.com/scverse/scanpy/assets/64251655/d958f7f9-dad7-4d77-8990-6012be58fd2c)
I think this could be fixed by changing
ha="center"
toha="left"
in the _plot_totals function https://github.com/scverse/scanpy/blob/ec7f92524e6269e9c7370fc94c53ba04230b0bca/scanpy/plotting/_baseplot_class.py#L481Thanks!