From 5e5cf9ba30b78e916cab7d3ca4c7d63cd20ffbc5 Mon Sep 17 00:00:00 2001 From: John McNamara Date: Wed, 1 Mar 2023 12:27:08 +0000 Subject: [PATCH] Minor doc fixes. --- dev/docs/source/chart.rst | 4 ++-- xlsxwriter/chart.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/docs/source/chart.rst b/dev/docs/source/chart.rst index 84e297740..9fc4872b6 100644 --- a/dev/docs/source/chart.rst +++ b/dev/docs/source/chart.rst @@ -1092,11 +1092,11 @@ chart.show_blanks_as() .. py:function:: show_blanks_as(option) - Set the option for displaying blank data in a chart. + Set the option for displaying blank/empty data cells in a chart. :param string option: A string representing the display option. -The ``show_blanks_as()`` method controls how blank data is displayed in a +The ``show_blanks_as()`` method controls how blank/empty data is displayed in a chart:: chart.show_blanks_as('span') diff --git a/xlsxwriter/chart.py b/xlsxwriter/chart.py index 506757b3c..96db005c1 100644 --- a/xlsxwriter/chart.py +++ b/xlsxwriter/chart.py @@ -846,7 +846,7 @@ def _process_names(self, name, name_formula): if name is not None: if isinstance(name, list): - # Convert an list of values into a name formula. + # Convert a list of values into a name formula. cell = xl_rowcol_to_cell(name[1], name[2], True, True) name_formula = quote_sheetname(name[0]) + '!' + cell name = ''