Skip to content

Commit

Permalink
fix(figure_multiple_rows_columns): column-first axes labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
audunth committed May 13, 2024
1 parent e7a0243 commit 220d8d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cosmoplots/axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def figure_multiple_rows_columns(rows: int, columns: int,
fig = plt.figure(figsize = (columns*3.37, rows*2.08277))
axes = []
labels = labels or [r"$\mathrm{{({})}}$".format(chr(97+l)) for l in range(rows*columns)]
for c in range(columns):
for r in range(rows):
for r in range(rows):
for c in range(columns):
left = (0.2)/columns + c/columns
bottom = (0.2)/rows + (rows-1-r)/rows # Start at the top
width = 0.75/columns
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cosmoplots"
version = "0.4.2"
version = "0.4.3"
description = "Routines to get a sane default configuration for production quality plots."
homepage = "https://github.com/uit-cosmo/cosmoplots"
authors = ["gregordecristoforo <[email protected]>"]
Expand Down

0 comments on commit 220d8d0

Please sign in to comment.