From 4783529a673ed72fdc021a546e7c053cb415f832 Mon Sep 17 00:00:00 2001 From: Will Handley Date: Sun, 21 Apr 2024 17:06:20 +0100 Subject: [PATCH] Get color from self.color --- anesthetic/plotting/_matplotlib/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anesthetic/plotting/_matplotlib/core.py b/anesthetic/plotting/_matplotlib/core.py index 8d5ca090..ce13b692 100644 --- a/anesthetic/plotting/_matplotlib/core.py +++ b/anesthetic/plotting/_matplotlib/core.py @@ -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