Skip to content

Commit

Permalink
Merge a5c73e6 into a489ecb
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-esch committed Jul 24, 2019
2 parents a489ecb + a5c73e6 commit 25f49ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cartoframes/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ def __init__(self, data, credentials=None, schema=None):
self._strategy = self._init_strategy(data, credentials, schema)
self._is_saved_in_carto = self._init_saved_in_carto()

def __add__(self, style=None):
from ..viz import Layer
return Layer(self, style)

def _init_strategy(self, data, credentials=None, schema=None):
credentials = credentials or _get_default_credentials()
for strategy in self._registry.get_strategies():
Expand Down

0 comments on commit 25f49ad

Please sign in to comment.