Browse Source

Do not assume the format of color parameters.

Do not assume that the `colors` parameter of the scatterplot
function is a string of one-letter color codes.
master
Damien Goutte-Gattat 1 month ago
parent
commit
79f7f70f34
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      incenp/plotting/scatter.py

+ 1
- 1
incenp/plotting/scatter.py View File

@@ -42,7 +42,7 @@ def scatterplot_subtrack(ax, data, n_track, n_subtrack, max_subtrack,

offset = n_track * max_subtrack + n_subtrack
xs = xdistr(data.values, width, center=True, min_sep=min_sep, offset=offset)
ax.plot(xs, data.values, color + '.')
ax.plot(xs, data.values, color=color, marker='.', linestyle='')
ax.hlines(data.mean(), offset - .5, offset + .5, color)




Loading…
Cancel
Save