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

Fixing to checks breaking rendering of DateTimeLine and TimeDeltaLine #264

Merged
merged 1 commit into from Sep 28, 2015

Conversation

mmrose
Copy link
Contributor

@mmrose mmrose commented Sep 19, 2015

The two checks for range of x and y values did not test for None. These values can also be zero and therefore the check evaluates to False, which then leads to empty rendered SVG and PNG graphs.

I could not find tests actually validating SVG graphs, so the current tests do not cover this. Feel free to point out, where this is and I update the tests.

paradoxxxzero added a commit that referenced this pull request Sep 28, 2015
Fixing to checks breaking rendering of DateTimeLine and TimeDeltaLine
@paradoxxxzero paradoxxxzero merged commit 05e9f3d into Kozea:master Sep 28, 2015
@paradoxxxzero
Copy link
Member

Thanks for the fix. There are no test that tests the SVG integrally because it would break with every modification. You can however add a test that reproduce this problem and check that the line tag is in the svg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants