Skip to content

Commit

Permalink
Fix pre-commit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Abinash-bit committed Nov 8, 2024
1 parent 76251c2 commit 8e11a26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion changelog/243.breaking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ The following parameters are renamed in ``test_radial.py``:
- ``range_mean`` -> ``mean_attenuation_range`` in ``fnrgf``.
- ``range_std`` -> ``std_attenuation_range`` in ``fnrgf``.

Now the parameters could just be passed in as arguments to the main algorithm, rather than having an extra public function and Could also be handled by importing from the utils file, for ease of understanding.
Now the parameters could just be passed in as arguments to the main algorithm, rather than having an extra public function and Could also be handled by importing from the utils file, for ease of understanding.
5 changes: 4 additions & 1 deletion examples/radial_gradient_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
"""

import matplotlib.pyplot as plt

import astropy.units as u

import sunpy.data.sample
import sunpy.map

import sunkit_image.radial as radial
from sunkit_image.utils import equally_spaced_bins

Expand Down Expand Up @@ -91,4 +94,4 @@

fig.tight_layout()

plt.show()
plt.show()
2 changes: 1 addition & 1 deletion sunkit_image/radial.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,4 +741,4 @@ def rhef(
new_map.plot_settings["norm"] = None

# Return the new SunPy map with RHEF applied
return new_map
return new_map

0 comments on commit 8e11a26

Please sign in to comment.