exa-analytics / exa

The exa framework for data management, processing, and visualization
https://exa-analytics.github.io/exa
Apache License 2.0
2 stars 10 forks source link

exa.Editor meta kwarg behaves as though it is class level #128

Closed tjduigna closed 8 years ago

tjduigna commented 8 years ago

Experiencing the following bug with a minimal working example:

t = exa.Editor('')
t.meta['name'] = 'main'
t.meta

returns

{'name': 'main'}

as expected. Then creating a new instance

b = exa.Editor('')
b.meta['name'] = 'face'
b.meta

returns

{'name': 'face'}

also as expected. But then:

t.meta

returns

{'name': 'face'}

as though meta is a class-level attribute of the Editor, not an instance attribute.