Scientific figures with Stylia
Sytlia is a small Python library for styling plots
Getting started
Installation
git clone https://github.com/ersilia-os/stylia.git
cd stylia
pip install -e . Create a single panel figure
import stylia as st
import numpy as np
fig, axs = st.create_figure(1,1)
ax = axs[0]
x = np.random.normal(size=100)
y = np.random.normal(size=100)
ax.scatter(x, y)
st.save_figure("my_single_plot.png")Create a multipanel figure
Sizes
Figure size
Font size
Marker sizes
Line widths
Colors
Named colors
Color maps
Continuous color maps
Discrete colormaps
Last updated
Was this helpful?

