APLpy
Advanced tools
+1
-1
@@ -43,3 +43,3 @@ from __future__ import absolute_import, print_function, division | ||
| normalizer = simple_norm(image, stretch=stretch, power=exponent, | ||
| asinh_a=vmid, min_cut=vmin, max_cut=vmax) | ||
| asinh_a=vmid, min_cut=vmin, max_cut=vmax, clip=False) | ||
@@ -46,0 +46,0 @@ data = normalizer(image, clip=True).filled(0) |
@@ -228,1 +228,14 @@ from __future__ import absolute_import, print_function, division | ||
| return f._figure | ||
| @pytest.mark.remote_data | ||
| @pytest.mark.mpl_image_compare(style={}, savefig_kwargs={'adjust_bbox': False}, baseline_dir=baseline_dir, tolerance=5) | ||
| def test_set_nan_color(self): | ||
| data = np.arange(56, dtype=float).reshape((8, 7)) | ||
| data[3, :] = np.nan | ||
| f = FITSFigure(data, figsize=(3, 3)) | ||
| f.show_colorscale() | ||
| f.axis_labels.hide() | ||
| f.tick_labels.hide() | ||
| f.ticks.hide() | ||
| f.set_nan_color('black') | ||
| return f._figure |
+5
-5
@@ -1,2 +0,2 @@ | ||
| # Autogenerated by Astropy-affiliated package aplpy's setup.py on 2019-02-18 13:11:44 UTC | ||
| # Autogenerated by Astropy-affiliated package aplpy's setup.py on 2019-02-18 17:00:52 UTC | ||
| from __future__ import unicode_literals | ||
@@ -190,4 +190,4 @@ import datetime | ||
| _packagename = "aplpy" | ||
| _last_generated_version = "2.0.1" | ||
| _last_githash = "c8d33a56b6516f786fd621c3fdb88c847fc6206c" | ||
| _last_generated_version = "2.0.2" | ||
| _last_githash = "86ad9b578d3a5604342f95755c543c481261094a" | ||
@@ -210,3 +210,3 @@ # Determine where the source code for this module | ||
| minor = 0 | ||
| bugfix = 1 | ||
| bugfix = 2 | ||
@@ -216,3 +216,3 @@ version_info = (major, minor, bugfix) | ||
| release = True | ||
| timestamp = datetime.datetime(2019, 2, 18, 13, 11, 44) | ||
| timestamp = datetime.datetime(2019, 2, 18, 17, 0, 52) | ||
| debug = False | ||
@@ -219,0 +219,0 @@ |
+5
-0
| CHANGES | ||
| -------- | ||
| 2.0.2 (2019-02-18) | ||
| ------------------ | ||
| - Fixed ``set_nan_color``. [#419] | ||
| 2.0.1 (2019-02-18) | ||
@@ -5,0 +10,0 @@ ------------------ |
+2
-2
| Metadata-Version: 2.1 | ||
| Name: APLpy | ||
| Version: 2.0.1 | ||
| Version: 2.0.2 | ||
| Summary: The Astronomical Plotting Library in Python | ||
@@ -60,3 +60,3 @@ Home-page: http://aplpy.github.io | ||
| Requires-Python: >=3.5 | ||
| Provides-Extra: docs | ||
| Provides-Extra: test | ||
| Provides-Extra: docs |
+1
-1
@@ -33,3 +33,3 @@ [build_sphinx] | ||
| # version should be PEP440 compatible (https://www.python.org/dev/peps/pep-0440/) | ||
| version = 2.0.1 | ||
| version = 2.0.2 | ||
@@ -36,0 +36,0 @@ [options.extras_require] |
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
1894425
0.03%11404
0.11%