Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masked values show data=0 in interact() mode #128

Open
jypeter opened this issue Feb 21, 2017 · 0 comments
Open

Masked values show data=0 in interact() mode #128

jypeter opened this issue Feb 21, 2017 · 0 comments
Assignees
Labels
enhancement low Low Priority bug (but not enhancement)
Milestone

Comments

@jypeter
Copy link
Member

jypeter commented Feb 21, 2017

@doutriaux1 I have installed 2.8.0 at last, and I'm testing some stuff !

I'm plotting a simple matrix with 0, 1 and masked. When I'm in interact mode, and I click on the masked values, they should data=0 when it should rather be masked or something like that

>>> import vcs
>>> import numpy as np
>>> import numpy as np
>>> a = np.ma.identity(10)
>>> a[4:7, 4:7] = np.ma.masked
>>> x = vcs.init()
>>> x.plot(a)
/home/share/unix_files/cdat/miniconda2/envs/uvcdat-2.8.0/lib/python2.7/site-packages/numpy/ma/core.py:3337: MaskedArrayFutureWarning: setting an item on a masked array which has a shared mask will not copy the mask and also change the original mask array in the future.
Check the NumPy 1.11 release notes for more information.
  self.__setitem__(slice(i, j), value)
<vcs.displayplot.Dp object at 0x2ac2b07afc58>
>>> x.interact()
@doutriaux1 doutriaux1 modified the milestone: 3.0 May 5, 2017
@doutriaux1 doutriaux1 modified the milestones: 3.0, post 3.0 Mar 29, 2018
@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
@doutriaux1 doutriaux1 self-assigned this Apr 18, 2019
@scottwittenburg scottwittenburg added the low Low Priority bug (but not enhancement) label May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement low Low Priority bug (but not enhancement)
Projects
None yet
Development

No branches or pull requests

3 participants