Skip to content

Commit

Permalink
Merge pull request #41 from IMMM-SFA/dev
Browse files Browse the repository at this point in the history
Bug fix:  Colormap axis specification
  • Loading branch information
crvernon authored Jan 5, 2024
2 parents 4c2b188 + 81523cc commit 4215ef6
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 19,346 deletions.
6,281 changes: 26 additions & 6,255 deletions notebooks/Quickstarter_Notebook_1_Final.ipynb

Large diffs are not rendered by default.

4,499 changes: 18 additions & 4,481 deletions notebooks/Quickstarter_Notebook_2_Final.ipynb

Large diffs are not rendered by default.

5,697 changes: 17 additions & 5,680 deletions notebooks/Quickstarter_Notebook_3_Final.ipynb

Large diffs are not rendered by default.

2,939 changes: 14 additions & 2,925 deletions notebooks/Quickstarter_Notebook_4_Final.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions notebooks/Quickstarter_Notebook_5_Final.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 4,
"id": "ff69ed3a-8a37-493a-93f6-c3f2fcd8417b",
"metadata": {
"tags": []
Expand Down Expand Up @@ -2974,7 +2974,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 1/1 [00:00<00:00, 280.48it/s]\n"
"100%|██████████| 1/1 [00:00<00:00, 56.70it/s]\n"
]
}
],
Expand Down Expand Up @@ -3057,7 +3057,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.10.9"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion statemodify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
from .hmm import *


__version__ = "0.1.3"
__version__ = "0.1.4"
2 changes: 1 addition & 1 deletion statemodify/hmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def plot_res_quantiles(hmm_data: np.array,
my_cmap = plt.cm.get_cmap('BrBG')
sm = ScalarMappable(cmap=my_cmap, norm=plt.Normalize(0, 1))
sm.set_array([])
cbar = plt.colorbar(sm)
cbar = plt.colorbar(sm, ax=ax)
cbar.set_label('Percentile of HMM Records', rotation=270, labelpad=20, fontsize=14)
plt.tight_layout()

Expand Down

0 comments on commit 4215ef6

Please sign in to comment.