Skip to content

Commit

Permalink
fixes bug reported in #250
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecoster committed Apr 10, 2021
1 parent 3ae7c0d commit bbcffb4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion nanoplot/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.35.4"
__version__ = "1.35.5"
28 changes: 14 additions & 14 deletions nanoplotter/nanoplotter_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,20 +185,20 @@ def scatter(x, y, legacy, names, path, plots, color="#4CB391", colormap="Greens"
kde_plot.save()
plots_made.append(kde_plot)

if legacy:
plots_made += scatter_legacy(x=x[idx],
y=y[idx],
names=names,
path=path,
plots=plots,
color=color,
figformat="png",
stat=stat,
log=log,
minvalx=minvalx,
minvaly=minvaly,
title=title)
return plots_made
if legacy:
plots_made += scatter_legacy(x=x[idx],
y=y[idx],
names=names,
path=path,
plots=plots,
color=color,
figformat="png",
stat=stat,
log=log,
minvalx=minvalx,
minvaly=minvaly,
title=title)
return plots_made


def scatter_legacy(x, y, names, path, plots, color="#4CB391", figformat="png",
Expand Down

0 comments on commit bbcffb4

Please sign in to comment.