metaseq icon indicating copy to clipboard operation
metaseq copied to clipboard

subplots using metaseq.plotutils.imshow

Open scriscio opened this issue 5 years ago • 0 comments

More of a question than an issue. How would you place two sub-plots side by side for example one of the tutorial for this plot:

fig = metaseq.plotutils.imshow(
    
    # These are the same arguments as above.
    normalized_subtracted,
    x=x,
    figsize=(3, 7),
    vmin=5, vmax=99,  percentile=True,
    line_kwargs=dict(color='k', label='All'),
    fill_kwargs=dict(color='k', alpha=0.3),
    
    # This is new: sort by mean signal
    sort_by=normalized_subtracted.mean(axis=1)
)

I am having allot of difficulty assembling the two plots produced by this function into subplots side by side. Any suggestions would be appreciated.

scriscio avatar Apr 27 '19 14:04 scriscio