Skip to content

Commit

Permalink
Fix conditional ordering in README and readme_test.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
taobrienlbl committed Sep 28, 2024
1 parent cebd41d commit b9c71df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ conditional
#***************************
# Calculate the conditional
#***************************
cPDF = fastkde.conditional(y, x, var_names = ['y', 'x'])
# note that conditiong variables ('x' in this case) are listed first
# in the var_names argument
cPDF = fastkde.conditional(y, x, var_names = ['x', 'y'])
```

The following plot shows the results:
Expand Down
4 changes: 3 additions & 1 deletion examples/readme_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@
"# ***************************\n",
"# Calculate the conditional\n",
"# ***************************\n",
"cPDF = fastkde.conditional(y, x, var_names=[\"y\", \"x\"])"
"# note that conditiong variables ('x' in this case) are listed first\n",
"# in the var_names argument\n",
"cPDF = fastkde.conditional(y, x, var_names=[\"x\", \"y\"])"
]
},
{
Expand Down

0 comments on commit b9c71df

Please sign in to comment.