Commit 82fe3c05 authored by Kris Vanneste's avatar Kris Vanneste
Browse files

Added import of LegendStyle in __init__ method of PointStyle.

git-svn-id: 40b490c5-b4d9-47cb-8714-9bef99b524d5
parent c9810306
......@@ -7,6 +7,8 @@ from __future__ import absolute_import, division, print_function, unicode_litera
from .base import BasemapStyle
from .thematic import ThematicStyle
## Note: we cannot import from .decoration, as .decoration imports from here!
#from .decoration import LegendStyle
......@@ -76,6 +78,8 @@ class PointStyle(BasemapStyle):
if line_color is thematic, fill_color is currently ignored.
def __init__(self, shape='o', size=10, line_width=1, line_color='k', fill_color='None', fill_style="full", label_style=None, alpha=1., thematic_legend_style=None):
from .decoration import LegendStyle
self.shape = shape
self.size = size
self.line_width = line_width
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment