mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 17:08:03 +00:00
Add comment
This commit is contained in:
parent
cbfd1cbc99
commit
73687fd8cc
1 changed files with 7 additions and 0 deletions
|
@ -35,6 +35,13 @@ except ModuleNotFoundError:
|
||||||
|
|
||||||
|
|
||||||
def plot_knn(runname):
|
def plot_knn(runname):
|
||||||
|
"""
|
||||||
|
Plot the kNN CDF for a given runname.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
runname : str
|
||||||
|
"""
|
||||||
print(f"Plotting kNN CDF for {runname}.")
|
print(f"Plotting kNN CDF for {runname}.")
|
||||||
cols = plt.rcParams["axes.prop_cycle"].by_key()["color"]
|
cols = plt.rcParams["axes.prop_cycle"].by_key()["color"]
|
||||||
paths = csiborgtools.read.Paths(**csiborgtools.paths_glamdring)
|
paths = csiborgtools.read.Paths(**csiborgtools.paths_glamdring)
|
||||||
|
|
Loading…
Reference in a new issue