File tree Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 11
2+ Release 1.8.2
3+ =========================================
4+
5+ * **BUGFIX: ** Added missing support for ``'areaMarker' `` legend symbol.
6+ * **DOCS: ** Fixed some typos (courtesy of @JulienBacquart).
7+
8+ ----
9+
210Release 1.8.1
311=========================================
412
Original file line number Diff line number Diff line change 44* Byron Cook (`@ByronCook <https://github.com/ByronCook >`__)
55* karlacio (`@karlacio <https://github.com/karlacio >`__)
66* Max Dugan Knight (`@maxduganknight <https://github.com/maxduganknight >`__)
7+ * Julien Bacquart (`@JulienBacquart <https://github.com/JulienBacquart >`__)
Original file line number Diff line number Diff line change 11########################################################
2- Using Highcharts Core for Python with Pandas
2+ Working with Data in Highcharts for Python
33########################################################
44
55.. contents ::
@@ -8,7 +8,7 @@ Using Highcharts Core for Python with Pandas
88
99-------------------
1010
11- The **Highcharts for Python Toolkit ** is a data *visualizaiton * library.
11+ The **Highcharts for Python Toolkit ** is a data *visualization * library.
1212That means that it is designed to let you visualize the data that you
1313or your users are analyzing, rather than to do the analysis itself. But
1414while there are better tools to actually crunch the numbers,
Original file line number Diff line number Diff line change 1- __version__ = '1.8.1 '
1+ __version__ = '1.8.2 '
Original file line number Diff line number Diff line change @@ -495,7 +495,8 @@ def label(self, value):
495495 @property
496496 def legend_symbol (self ) -> Optional [str ]:
497497 """The type of legend symbol to render for the series. Accepts either
498- ``'lineMarker'`` or ``'rectangle'``. Defaults to ``'rectangle'``.
498+ ``'lineMarker'``, ``'areaMarker'``, or ``'rectangle'``. Defaults to
499+ ``'rectangle'``.
499500
500501 :rtype: :class:`str <python:str>`
501502 """
@@ -510,9 +511,11 @@ def legend_symbol(self, value):
510511 value = value .lower ()
511512 if value == 'linemarker' :
512513 value = 'lineMarker'
513- if value not in ['lineMarker' , 'rectangle' ]:
514+ if value == 'areamarker' :
515+ value = 'areaMarker'
516+ if value not in ['lineMarker' , 'areaMarker' , 'rectangle' ]:
514517 raise errors .HighchartsValueError (f'legend_symbol expects either '
515- f'"lineMarker" or "rectangle". '
518+ f'"lineMarker", "areaMarker", or "rectangle". '
516519 f'Received: "{ value } ".' )
517520 self ._legend_symbol = value
518521
You can’t perform that action at this time.
0 commit comments