Skip to content

Conversation

@ssclift
Copy link

@ssclift ssclift commented Jan 2, 2013

Using a unit "offset" of 1.0 caused box plots to fail to fill the
canvas if (max - min) was of the order of 1.

This patch only sets to offset to 1.0 if the ( max - min )
would otherwise cause a division by zero. With this correction, box
plots now correctly scale to the canvas width.

Using a unit "offset" of 1.0 caused box plots to fail to fill the
canvas.  This change only sets to offset to 1.0 if the ( max - min )
would otherwise cause a division by zero.  With this correction, box
plots now correctly scale to the canvas width.
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.

1 participant