there was a bug whereby the spaceRequest was for 764.4583663940431 but t...

...he offeredWidths[colIndex] was 764.458366394043

this resulted in the invariant violation error being fired.
I've added a threshold of 0.001 pixels - not sure this is the best workaround but my plots aren't blowing up any more