enthought / enthought/chaco

Unexpected behavior in lines containing NaN datapoints when zooming

Open
#206 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
305
Forks
97
PR merge metrics
No merged PRs in 30d

Description

If I have a single line plotted which also has a few np.nan's at certain data points, everything looks fine when the graph is constructed with gaps appearing where the np.nan's are located. But when using zoom tools strange lines appear at the left-most np.nan position:
![image](https://cloud.githubusercontent.com/assets/8127771/3550106/6170d392-08d4-11e4-9868-f99adcb58c14.png)

The cyan and orange lines above have np.nan values to create the gaps, otherwise there are only two lines on the plot.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.