modusa 0.3.79__py3-none-any.whl → 0.3.81__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- modusa/tools/plotter.py +6 -2
- {modusa-0.3.79.dist-info → modusa-0.3.81.dist-info}/METADATA +1 -1
- {modusa-0.3.79.dist-info → modusa-0.3.81.dist-info}/RECORD +6 -6
- {modusa-0.3.79.dist-info → modusa-0.3.81.dist-info}/WHEEL +0 -0
- {modusa-0.3.79.dist-info → modusa-0.3.81.dist-info}/entry_points.txt +0 -0
- {modusa-0.3.79.dist-info → modusa-0.3.81.dist-info}/licenses/LICENSE.md +0 -0
modusa/tools/plotter.py
CHANGED
|
@@ -280,7 +280,7 @@ class Fig:
|
|
|
280
280
|
curr_row[0].grid(True, linestyle='--', linewidth=0.7, color="lightgray" ,alpha=0.6)
|
|
281
281
|
|
|
282
282
|
|
|
283
|
-
def add_matrix(self, M, y=None, x=None, c="viridis", o="upper", label=None, ylabel=None, ylim=None, yticks=None, yticklabels=None, xticks=None, xticklabels=None, cbar=True, grid=True, ax=None):
|
|
283
|
+
def add_matrix(self, M, y=None, x=None, c="viridis", o="upper", label=None, ylabel=None, ylim=None, yticks=None, yticklabels=None, xticks=None, xticklabels=None, cbar=True, grid=True, alpha=1, ax=None):
|
|
284
284
|
"""
|
|
285
285
|
Add matrix to the figure.
|
|
286
286
|
|
|
@@ -323,6 +323,10 @@ class Fig:
|
|
|
323
323
|
grid: bool
|
|
324
324
|
- Do you want the grid?
|
|
325
325
|
- Default: True
|
|
326
|
+
alpha: float (0 to 1)
|
|
327
|
+
- Transparency level
|
|
328
|
+
- 1 being opaque and 0 being completely transparent
|
|
329
|
+
- Default: 1
|
|
326
330
|
ax: int
|
|
327
331
|
- Which specific axis to plot (1, 2, 3, ...)
|
|
328
332
|
- None
|
|
@@ -338,7 +342,7 @@ class Fig:
|
|
|
338
342
|
|
|
339
343
|
extent = self._calculate_extent(x, y, o)
|
|
340
344
|
|
|
341
|
-
im = curr_row[0].imshow(M, aspect="auto", origin=o, cmap=c, extent=extent)
|
|
345
|
+
im = curr_row[0].imshow(M, aspect="auto", origin=o, cmap=c, extent=extent, alpha=alpha)
|
|
342
346
|
|
|
343
347
|
if ylabel is not None: curr_row[0].set_ylabel(ylabel)
|
|
344
348
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
modusa-0.3.
|
|
2
|
-
modusa-0.3.
|
|
3
|
-
modusa-0.3.
|
|
4
|
-
modusa-0.3.
|
|
1
|
+
modusa-0.3.81.dist-info/METADATA,sha256=3UWJiZ_BPe37o35sLEuZ31BnSwMiuAMI2LyK9mVbcIU,1436
|
|
2
|
+
modusa-0.3.81.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
|
3
|
+
modusa-0.3.81.dist-info/entry_points.txt,sha256=fmKpleVXj6CdaBVL14WoEy6xx7JQCs85jvzwTi3lePM,73
|
|
4
|
+
modusa-0.3.81.dist-info/licenses/LICENSE.md,sha256=JTaXAjx5awk76VArKCx5dUW8vmLEWsL_ZlR7-umaHbA,1078
|
|
5
5
|
modusa/.DS_Store,sha256=_gm6qJREwfMi8dE7n5S89_RG46u5t3xHyD-smNhtNoM,6148
|
|
6
6
|
modusa/__init__.py,sha256=NePOWbyJftN9eKV6VEzS8QBMY5SCym9DzUCrVcVZ7kY,283
|
|
7
7
|
modusa/config.py,sha256=bTqK4t00FZqERVITrxW_q284aDDJAa9aMSfFknfR-oU,280
|
|
@@ -51,7 +51,7 @@ modusa/tools/audio_recorder.py,sha256=K_LGqsPdjTdf3figEZTSQLmgMzYWgz18HTO8C1j5fE
|
|
|
51
51
|
modusa/tools/audio_saver.py,sha256=ldzfr_AydsHTnKbxmBLJblN-hLzTmOlppOm306xI4Ug,510
|
|
52
52
|
modusa/tools/base.py,sha256=C0ESJ0mIfjjRlAkRbSetNtMoOfS6IrHBjexRp3l_Mh4,1293
|
|
53
53
|
modusa/tools/math_ops.py,sha256=ZZ7U4DgqT7cOeE7_Lzi_Qq-48WYfwR9_osbZwTmE9eg,8690
|
|
54
|
-
modusa/tools/plotter.py,sha256=
|
|
54
|
+
modusa/tools/plotter.py,sha256=AZz7y0lkZ-zYxGVjeGghTFI7RIxWHiqX-26mKm781gA,23790
|
|
55
55
|
modusa/tools/youtube_downloader.py,sha256=hB_X8-7nOHXOlxg6vv3wyhBLoAsWyomrULP6_uCQL7s,1698
|
|
56
56
|
modusa/utils/.DS_Store,sha256=nLXMwF7QJNuglLI_Gk74F7vl5Dyus2Wd74Mgowijmdo,6148
|
|
57
57
|
modusa/utils/__init__.py,sha256=1oLL20yLB1GL9IbFiZD8OReDqiCpFr-yetIR6x1cNkI,23
|
|
@@ -60,4 +60,4 @@ modusa/utils/excp.py,sha256=L9vhaGjKpv9viJYdmC9n5ndmk2GVbUBuFyZyhAQZmWY,906
|
|
|
60
60
|
modusa/utils/logger.py,sha256=K0rsnObeNKCxlNeSnVnJeRhgfmob6riB2uyU7h3dDmA,571
|
|
61
61
|
modusa/utils/np_func_cat.py,sha256=TyIFgRc6bARRMDnZxlVURO5Z0I-GWhxRONYyIv-Vwxs,1007
|
|
62
62
|
modusa/utils/plot.py,sha256=s_vNdxvKfwxEngvJPgrF1PcmxZNnNaaXPViHWjyjJ-c,5335
|
|
63
|
-
modusa-0.3.
|
|
63
|
+
modusa-0.3.81.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|