From 8489954e3b7d188396322bbfddd54fa64303b09e Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Thu, 16 Nov 2023 03:00:18 -0700 Subject: [PATCH] Supress printing in the examples within the documentation of `colorsynth.sRGB()`. --- colorsynth/_colorsynth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colorsynth/_colorsynth.py b/colorsynth/_colorsynth.py index cbe9c26..2c17a0d 100644 --- a/colorsynth/_colorsynth.py +++ b/colorsynth/_colorsynth.py @@ -464,8 +464,8 @@ def sRGB( # plot the gamut plt.figure(); plt.pcolormesh(*np.broadcast_arrays(x, y), np.moveaxis(rgb, source=axis, destination=-1)); - plt.xlabel("CIE 1931 $x$") - plt.ylabel("CIE 1931 $y$") + plt.xlabel("CIE 1931 $x$"); + plt.ylabel("CIE 1931 $y$"); |