Skip to content

Commit

Permalink
Get color from self.color
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjameshandley committed Apr 21, 2024
1 parent 85fd088 commit 4783529
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions anesthetic/plotting/_matplotlib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def _make_plot(self, fig):
ax = self._get_ax(0) # another one of these hard-coded 0s

kwds = self.kwds.copy()
if self.color is not None:
kwds["color"] = self.color
label = pprint_thing(self.label)
kwds["label"] = label

Expand Down

0 comments on commit 4783529

Please sign in to comment.