Skip to content

Commit

Permalink
Numpy 2 compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-a committed Jun 16, 2024
1 parent a6b85ef commit 3d11a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/rnaseqc/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def xy_expression(tpm_df, sex_s=None, flag_klinefelter=True, highlight_ids=None,
ix = sex_s[sex_s.isnull() & (x_s <= x_threshold) & (y_s <= y_threshold)].index
if len(ix) > 0:
ax.scatter(x_s[ix], y_s[ix], c=hsv_to_rgb([0.0,0,0.7]).reshape(1,-1), **args, label=f"? ({len(ix)})")
res_s[ix] = np.NaN
res_s[ix] = np.nan

# matching samples
ix = sex_s[(sex_s == 'Male') & (x_s <= x_threshold)].index
Expand Down

0 comments on commit 3d11a67

Please sign in to comment.