Skip to content

This notebook is to develop a pipeline for generating plots using seaborn. Fig sizes/fonts/axises are tuned for paper submissions.

License

Notifications You must be signed in to change notification settings

xuesongwang/matplotlib_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

matplotlib_seaborn_template

This notebook is to develop a pipeline for generating plots using seaborn. Fig sizes/fonts/axises are tuned for paper submissions. So far we have covered templates for:

violinplot

histplot

barplot with confidence intervals

heatmap

Also this webpage has provided some cool palates for graph plots:

The example below shows how to change the palette into high contrasts: ['#ff3f3f', '#ffcc06', '#0a9ad7', '#9ad70a', '#d70a9a']

cmap = ['#ff3f3f', '#ffcc06',  '#0a9ad7', '#9ad70a', '#d70a9a']

ax = sns.barplot(x="day", y="total_bill", hue="sex", data=tips, errwidth=7, palette=cmap)

Another useful link for colormap

About

This notebook is to develop a pipeline for generating plots using seaborn. Fig sizes/fonts/axises are tuned for paper submissions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published