micress-micpy 0.3.1b2__py3-none-any.whl → 0.3.2b0__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.
- micpy/bin.py +5 -3
- micpy/version.py +1 -1
- {micress_micpy-0.3.1b2.dist-info → micress_micpy-0.3.2b0.dist-info}/METADATA +1 -1
- micress_micpy-0.3.2b0.dist-info/RECORD +12 -0
- micress_micpy-0.3.1b2.dist-info/RECORD +0 -12
- {micress_micpy-0.3.1b2.dist-info → micress_micpy-0.3.2b0.dist-info}/LICENSE +0 -0
- {micress_micpy-0.3.1b2.dist-info → micress_micpy-0.3.2b0.dist-info}/WHEEL +0 -0
- {micress_micpy-0.3.1b2.dist-info → micress_micpy-0.3.2b0.dist-info}/top_level.txt +0 -0
micpy/bin.py
CHANGED
|
@@ -765,7 +765,7 @@ def plot(
|
|
|
765
765
|
args (PlotArgs, optional): Arguments for plotting. Defaults to `None`.
|
|
766
766
|
|
|
767
767
|
Returns:
|
|
768
|
-
Matplotlib figure
|
|
768
|
+
Matplotlib figure, axes, and color bar.
|
|
769
769
|
"""
|
|
770
770
|
|
|
771
771
|
if matplotlib is None:
|
|
@@ -813,7 +813,9 @@ def plot(
|
|
|
813
813
|
ax.set_aspect(args.aspect)
|
|
814
814
|
ax.set_frame_on(False)
|
|
815
815
|
|
|
816
|
-
mesh = ax.
|
|
816
|
+
mesh = ax.imshow(
|
|
817
|
+
slice_2d, cmap=args.cmap, vmin=args.vmin, vmax=args.vmax, origin="lower"
|
|
818
|
+
)
|
|
817
819
|
|
|
818
820
|
bar = pyplot.colorbar(mesh, ax=ax, cax=args.cax)
|
|
819
821
|
bar.locator = matplotlib.ticker.MaxNLocator(
|
|
@@ -822,4 +824,4 @@ def plot(
|
|
|
822
824
|
bar.outline.set_visible(False)
|
|
823
825
|
bar.update_ticks()
|
|
824
826
|
|
|
825
|
-
return fig, ax
|
|
827
|
+
return fig, ax, bar
|
micpy/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.3.
|
|
1
|
+
__version__ = "0.3.2b0"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
micpy/__init__.py,sha256=7wQUaseppjQYZW1iAVNm2WSDjvBLlqtY8tiHsfDaW5Q,148
|
|
2
|
+
micpy/bin.py,sha256=5_VjciuoY7MGgbsYGD4YEBsGIRtN1UHEu1bF4c84KoU,26150
|
|
3
|
+
micpy/geo.py,sha256=z7dP3hC2Fhed4N5eRrlWlC4jtIXiYPIx2BYNhn10dfw,7447
|
|
4
|
+
micpy/matplotlib.py,sha256=GF2ghyBORC5RRjW00DdsHu5aSkpMFdI9wqg6d_psPsI,1198
|
|
5
|
+
micpy/tab.py,sha256=QCnfggxRWkKgS9-zGj8kyCjhfUw7QeTgGZWedHh4MTw,3548
|
|
6
|
+
micpy/utils.py,sha256=Kt1AvhMvWer9uftbb88X7N27aXtQdJl26grHmmm2vOQ,859
|
|
7
|
+
micpy/version.py,sha256=cmRz06nS65Gsdx46NbGK09hWYOtmDwCXP9-XRCvNvUc,25
|
|
8
|
+
micress_micpy-0.3.2b0.dist-info/LICENSE,sha256=seHdCiArizUoWZ6bEFg6N3K2ZtfPK35wvOwg0kH-f6o,1488
|
|
9
|
+
micress_micpy-0.3.2b0.dist-info/METADATA,sha256=iJ3JJYKKdZzkdnCkfYstoSu4NDaYJMX0aIAuMKIFoQs,1229
|
|
10
|
+
micress_micpy-0.3.2b0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
11
|
+
micress_micpy-0.3.2b0.dist-info/top_level.txt,sha256=RiopkpW0AGNYdtOW2eQUWgm3yHGC13q9pWlHb2alhiE,6
|
|
12
|
+
micress_micpy-0.3.2b0.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
micpy/__init__.py,sha256=7wQUaseppjQYZW1iAVNm2WSDjvBLlqtY8tiHsfDaW5Q,148
|
|
2
|
-
micpy/bin.py,sha256=MbAzv-CXMUXZ8a8gynOQKCQIrOVrhuxL6fSl5wXcH0s,26117
|
|
3
|
-
micpy/geo.py,sha256=z7dP3hC2Fhed4N5eRrlWlC4jtIXiYPIx2BYNhn10dfw,7447
|
|
4
|
-
micpy/matplotlib.py,sha256=GF2ghyBORC5RRjW00DdsHu5aSkpMFdI9wqg6d_psPsI,1198
|
|
5
|
-
micpy/tab.py,sha256=QCnfggxRWkKgS9-zGj8kyCjhfUw7QeTgGZWedHh4MTw,3548
|
|
6
|
-
micpy/utils.py,sha256=Kt1AvhMvWer9uftbb88X7N27aXtQdJl26grHmmm2vOQ,859
|
|
7
|
-
micpy/version.py,sha256=mAuhwKKFzwoBU7u49qo92gTigQagh5Nq5rzbLuYGQbI,25
|
|
8
|
-
micress_micpy-0.3.1b2.dist-info/LICENSE,sha256=seHdCiArizUoWZ6bEFg6N3K2ZtfPK35wvOwg0kH-f6o,1488
|
|
9
|
-
micress_micpy-0.3.1b2.dist-info/METADATA,sha256=E4qysyzpM5PH13fhB2MnOQao1XNVOKDp8hCT7fJUah8,1229
|
|
10
|
-
micress_micpy-0.3.1b2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
11
|
-
micress_micpy-0.3.1b2.dist-info/top_level.txt,sha256=RiopkpW0AGNYdtOW2eQUWgm3yHGC13q9pWlHb2alhiE,6
|
|
12
|
-
micress_micpy-0.3.1b2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|