Skip to content

Commit

Permalink
added plots dir
Browse files Browse the repository at this point in the history
  • Loading branch information
colganwi committed May 14, 2024
1 parent b9eb11c commit bead9cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ __pycache__/
/.vscode/

# Plots
/tests/plots/*.png
/tests/plots/*.png

# Node modules
node_modules/
7 changes: 4 additions & 3 deletions src/pycea/pl/tree.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

from collections.abc import Mapping, Sequence
from typing import Union

import cycler
import matplotlib.colors as mcolors
Expand All @@ -25,8 +26,8 @@ def branches(
angled_branches: bool = False,
color: str = "black",
color_na: str = "lightgrey",
linewidth: Union[int, float, str] = 1,
linewidth_na: Union[int, float] = 1,
linewidth: int | float | str = 1,
linewidth_na: int | float = 1,
cmap: str | mcolors.Colormap = "viridis",
palette: cycler.Cycler | mcolors.ListedColormap | Sequence[str] | Mapping[str] | None = None,
ax: Axes | None = None,
Expand Down
1 change: 1 addition & 0 deletions tests/plots/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Folder for storing plots and figures.

0 comments on commit bead9cd

Please sign in to comment.