From 4f649077a69a446dc6253f85068e6d6ed1bfa468 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Mon, 24 Apr 2023 20:53:49 +0200 Subject: [PATCH] plot_phase should be plot_arg Phase plots show the phase of complex numbers, i.e. a representation of the arg. `plot_phase` did just that until a renaming accident happened in ff334cb ("add plot_contours()", 2021-10-29). Restore the proper aliasing. --- src/cplot/_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cplot/_main.py b/src/cplot/_main.py index 8261cd8..2e24de7 100644 --- a/src/cplot/_main.py +++ b/src/cplot/_main.py @@ -417,7 +417,7 @@ def plot_arg(*args, add_colorbars: bool = True, **kwargs): # "Phase plot" is a common name for this kind of plots -plot_phase = plot_abs +plot_phase = plot_arg # only show the phase, with some default value adjustments