Skip to content

Commit

Permalink
fix documentation build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ejolly committed Sep 25, 2022
1 parent 6e34f5d commit 4a0bbad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/02_Analysis/plot_decomposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
id_vars='PainIntensity')

with sns.plotting_context(context='paper', font_scale=2):
sns.factorplot(data=wt_long,
sns.catplot(data=wt_long,
y='Weight',
x='PainIntensity',
hue='Component',
Expand Down
4 changes: 2 additions & 2 deletions nltools/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,9 @@ def scatterplot(stats_output):
"""

if "yfit_xval" in stats_output.columns:
sns.lmplot("Y", "yfit_xval", data=stats_output)
sns.lmplot(x="Y", y="yfit_xval", data=stats_output)
else:
sns.lmplot("Y", "yfit_all", data=stats_output)
sns.lmplot(x="Y", y="yfit_all", data=stats_output)
plt.xlabel("Y", fontsize=16)
plt.ylabel("Predicted Value", fontsize=16)
plt.title("Prediction", fontsize=18)
Expand Down

0 comments on commit 4a0bbad

Please sign in to comment.