From e243b74ccc61467d8bedf4a22d3aefeb108d18e2 Mon Sep 17 00:00:00 2001 From: Tanmay Chimurkar <71710068+tanmaychimurkar@users.noreply.github.com> Date: Tue, 30 May 2023 10:51:01 +0200 Subject: [PATCH] Updated typo in `entrywidthmode` for legend The current version of the doc shows that the `entrywidthmode` can either be `pixels` (by default) or set to `fraction`. But fraction was written as `'fraction` without the trailing single quote. This merge request fixes that typo. --- doc/python/legend.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/legend.md b/doc/python/legend.md index f18225a9526..f75f9142c78 100644 --- a/doc/python/legend.md +++ b/doc/python/legend.md @@ -193,7 +193,7 @@ fig.show() *New in 5.11* -Set the width of horizontal legend entries by setting `entrywidth`. Here we set it to `70` pixels. Pixels is the default unit for `entrywidth`, but you can set it to be a fraction of the plot width using `entrywidthmode='fraction`. +Set the width of horizontal legend entries by setting `entrywidth`. Here we set it to `70` pixels. Pixels is the default unit for `entrywidth`, but you can set it to be a fraction of the plot width using `entrywidthmode='fraction'`. ```python import plotly.express as px