Skip to content

Commit

Permalink
changed to raw string to avoid deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
iancze committed Nov 10, 2023
1 parent 4a3b9bc commit cfe933a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mpol/crossval.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def from_dartboard_properties(
phi_edges: NDArray[floating[Any]],
seed: int | None = None,
) -> DartboardSplitGridded:
"""
r"""
Alternative method to initialize a DartboardSplitGridded object from Dartboard parameters.
Args:
Expand Down
2 changes: 1 addition & 1 deletion src/mpol/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_image_cmap_norm(image, stretch='power', gamma=1.0, asinh_a=0.02):
def plot_image(image, extent, cmap="inferno", norm=None, ax=None,
clab=r"Jy arcsec$^{-2}$",
xlab=r"$\Delta \alpha \cos \delta$ [${}^{\prime\prime}$]",
ylab="$\Delta \delta$ [${}^{\prime\prime}$]",
ylab=r"$\Delta \delta$ [${}^{\prime\prime}$]",
):
r"""
Wrapper for plt.imshow, with colorbar and colormap normalization.
Expand Down

0 comments on commit cfe933a

Please sign in to comment.