GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — mplot3d scatter should filter NaN values out · Issue #153 · matplotlib/matplotlib Closed Labels DescriptionOriginal report at SourceForge, opened Thu Feb 25 16:02:13 2010 The 2D scatter plot ignores points that have NaN values. The 3D scatter plot should do the same to match the 2D functionality as closely as possible. Here is some test code to demonstrate: import numpy as np xs = np.array([1, np.nan, 3]) fig = plt.figure() ax.scatter(xs, ys, c=cs) print '2D scatter OK' fig = plt.figure() ax.scatter(xs, ys, zs, c=cs) plt.show() This is the exception that I get. The issue is that the zs, array has 3 values, when the xs and ys arrays only have 2. Because the NaN valued points are removed from the xs and ys arrays, but the zs array is untouched. Exception in Tkinter callback SourceForge History
Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |