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 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 and axes of the plot.
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.pcolormesh(slice_2d, cmap=args.cmap, vmin=args.vmin, vmax=args.vmax)
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.1b2"
1
+ __version__ = "0.3.2b0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: micress-micpy
3
- Version: 0.3.1b2
3
+ Version: 0.3.2b0
4
4
  Summary: MicPy is a Python package to facilitate MICRESS workflows.
5
5
  Author: Lukas Koschmieder
6
6
  Author-email: l.koschmieder@access-technology.de
@@ -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,,