enthought / enthought/chaco

Shrinking window can break the y dimension scaling

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

Description

While hammering like crazy on the resizing of the window in your branch, I was able to "break" it 3 times (see screenshot) though I can't seem to find the succession of steps to reproduce it reliably. It seems to appear when I would reduce the window it its smallest possible size, and reduce the vertical length to ~0.

![screen shot 2014-10-14 at 9 34 37 am](https://cloud.githubusercontent.com/assets/593945/4631464/ca35f4d0-53b5-11e4-9aba-b019d58fd280.png)

One of the times I broke it that way, I got this:

```
/Users/jrocher/Projects/ETS_trunk/chaco/chaco/axis.py:619: RuntimeWarning: invalid value encountered in divide
self._axis_pixel_vector = self._axis_vector/sqrt(dot(self._axis_vector,self._axis_vector))
```

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.