e61-Institute / theme61

Create graphs in the e61 Institute style
https://e61-institute.github.io/theme61/
MIT License
5 stars 0 forks source link

Add `round(x, 10)` (?) around the limits here to prevent weird floating point issues #194

Closed aaronw22 closed 6 months ago

aaronw22 commented 7 months ago

https://github.com/e61-Institute/theme61/blob/3b82b37c114f39eb14f11c7893fee6e386f31bcb/R/axes.R#L49C1-L50C1

e.g.

> seq(-0.3, 0.4, 0.1)
[1] -3.000000e-01 -2.000000e-01 -1.000000e-01  5.551115e-17  1.000000e-01  2.000000e-01
[7]  3.000000e-01  4.000000e-01