pinellolab / STREAM

STREAM: Single-cell Trajectories Reconstruction, Exploration And Mapping of single-cell data
http://stream.pinellolab.org
GNU Affero General Public License v3.0
168 stars 45 forks source link

dot size option? #118

Closed wajm closed 3 years ago

wajm commented 3 years ago

is there any option for dot size in st.plot_visualization_2D /st.plot_flat_tree ?

huidongchen commented 3 years ago

The plotting-related parameters can be specified in the figure setting function st.set_figure_params()

To adjust to the dot size, you can add lines.markersize:

import matplotlib as mpl
st.set_figure_params(dpi=80,style='white',figsize=[5.4,4.8],
                     rc={'image.cmap': 'viridis',
                         'lines.markersize': 10})

More matplotlib parameters can be found https://matplotlib.org/stable/tutorials/introductory/customizing.html#a-sample-matplotlibrc-file