From 9bdee76bec7b91aa2d0b2e8c6cd56aeb9ce88b4c Mon Sep 17 00:00:00 2001 From: Ilja Stasewitsch Date: Thu, 21 Apr 2022 14:41:44 +0200 Subject: [PATCH] Update style.rst corrected from python style to c++-style --- docs/source/style.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/style.rst b/docs/source/style.rst index 767fb2e..ed0a7e6 100644 --- a/docs/source/style.rst +++ b/docs/source/style.rst @@ -14,10 +14,10 @@ for the plot commands. To set the line style it can be used as follows. .. code-block:: cpp // for a red dashed line with circle markers - plt::plot(x, y, {{"color", "red"}, {"marker": "o"}, {"linestyle": "--"}}) + plt::plot(x, y, {{"color", "red"}, {"marker", "o"}, {"linestyle", "--"}}) // shorthand notation for color and linestyle is usually supported - plt::plot(x, y, {{"c", "red"}, {"marker": "o"}, {"ls": "--"}}) + plt::plot(x, y, {{"c", "red"}, {"marker", "o"}, {"ls", "--"}}) See sections `Marker`_, `Color`_ and `Line`_ for supported values.