Skip to content

Commit b03ffc8

Browse files
committed
MAINT
Finished renaming variables
1 parent 068f6a1 commit b03ffc8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tools/plottools.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ def plot_ellipsdata(
123123
numdp = int(len(res) / 2)
124124
psires = res[:numdp]
125125
delres = res[numdp:]
126-
resAx.scatter(x, psires, color="r")
127-
resAx.scatter(x, delres, color="b")
128-
resAx.text(
126+
resax.scatter(x, psires, color="r")
127+
resax.scatter(x, delres, color="b")
128+
resax.text(
129129
0.95,
130130
0.1,
131131
s=r"$\chi^2 = $" + f"{np.round(objective.chisqr(),3)}",
132-
transform=resAx.transAxes,
132+
transform=resax.transAxes,
133133
ha="right",
134134
va="bottom",
135135
)
@@ -139,8 +139,8 @@ def plot_ellipsdata(
139139
ax.set_xlabel(xlab)
140140

141141
axt.set_ylabel("Delta", color="blue")
142-
if resAx is not None:
143-
resAx.set(ylabel="error")
142+
if resax is not None:
143+
resax.set(ylabel="error")
144144

145145

146146
def plot_structure(

0 commit comments

Comments
 (0)