Skip to content

Commit f527b77

Browse files
committed
[MAINT] update readme wexample
1 parent 3e0caa5 commit f527b77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ pip install git+git@github.com:RDoerfel/plotting.git
99

1010
## Usage
1111
```python
12-
import plotting.figures as figures
12+
from plotting import set_rc_params, get_figures
1313

1414

15-
figures.set_rc_params(fontfamily="serif", small=8, medium=10, big=12)
16-
fig, axs = figures.get_figures(rows=2, cols=1, unit="cm", figwidth=10, figheight=15, sharex=True, sharey=True)
15+
set_rc_params(fontfamily="serif", small=8, medium=10, big=12)
16+
fig, axs = get_figures(rows=2, cols=1, unit="cm", figwidth=10, figheight=15, sharex=True, sharey=True)
1717

1818
axs[0].plot([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
1919
axs[0].set_xlabel("x")

0 commit comments

Comments
 (0)