Skip to content

Commit

Permalink
update colors
Browse files Browse the repository at this point in the history
  • Loading branch information
bmandracchia committed Nov 12, 2024
1 parent fb2e59b commit 09a7d91
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 19 deletions.
2 changes: 2 additions & 0 deletions bioMONAI/callbacks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Event handlers"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/07_callbacks.ipynb.

# %% auto 0
Expand Down
6 changes: 4 additions & 2 deletions bioMONAI/core.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""bioMONAI core functions"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/00_core.ipynb.

# %% auto 0
Expand Down Expand Up @@ -224,8 +226,8 @@ def plot_histogram_and_kde(data, stats, bw_method, fn_name):
plt.fill_between(x, y, color=gauss_color, alpha=0.3)

# Add vertical lines for key statistics with formatted significant digits
plt.axvline(stats["Mean"], color='gold', linestyle='--', linewidth=1.5, label=f'Mean: {format_sig(stats["Mean"])}')
plt.axvline(stats["Median"], color='green', linestyle='--', linewidth=1.5, label=f'Median: {format_sig(stats["Median"])}')
plt.axvline(stats["Mean"], color='crimson', linestyle='--', linewidth=1.5, label=f'Mean: {format_sig(stats["Mean"])}')
plt.axvline(stats["Median"], color='steelblue', linestyle='--', linewidth=1.5, label=f'Median: {format_sig(stats["Median"])}')
plt.axvline(stats["Q1"], color='purple', linestyle=':', linewidth=1.5, label=f'Q1: {format_sig(stats["Q1"])}')
plt.axvline(stats["Q3"], color='purple', linestyle=':', linewidth=1.5, label=f'Q3: {format_sig(stats["Q3"])}')

Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/data.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Data classes and functions"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/01_data.ipynb.

# %% auto 0
Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/datasets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Download and store datasets"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/08_datasets.ipynb.

# %% auto 0
Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/io.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""input/output management"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/02_io.ipynb.

# %% auto 0
Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/losses.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""A set of custom loss functions"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/03_losses.ipynb.

# %% auto 0
Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/metrics.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Metric tracking and analysis tools"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/06_metrics.ipynb.

# %% auto 0
Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/nets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Neural networks"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/04_nets.ipynb.

# %% auto 0
Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/transforms.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Data transformations and augmentations for 2D and 3D BioImages"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/05_transforms.ipynb.

# %% auto 0
Expand Down
2 changes: 2 additions & 0 deletions bioMONAI/visualize.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Data visualization"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/09_visualize.ipynb.

# %% auto 0
Expand Down
34 changes: 17 additions & 17 deletions nbs/00_core.ipynb

Large diffs are not rendered by default.

0 comments on commit 09a7d91

Please sign in to comment.