Skip to content

Commit fec60b3

Browse files
authored
Merge pull request #182 from highcharts-for-python/develop
PR for v.1.8.2
2 parents 417c434 + dcfea66 commit fec60b3

File tree

5 files changed

+18
-6
lines changed

5 files changed

+18
-6
lines changed

CHANGES.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
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+
210
Release 1.8.1
311
=========================================
412

docs/_contributors.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
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>`__)

docs/tutorials/data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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.
1212
That means that it is designed to let you visualize the data that you
1313
or your users are analyzing, rather than to do the analysis itself. But
1414
while there are better tools to actually crunch the numbers,

highcharts_core/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.8.1'
1+
__version__ = '1.8.2'

highcharts_core/options/plot_options/generic.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)