eigenhombre / i3d3

D3-based plotting and histogramming library
25 stars 5 forks source link

Histogram clipped earlier than axis after zoom #12

Open sboeser opened 10 years ago

sboeser commented 10 years ago

In the attached screenshot, the right-most bin is not shown in full width. The histogram extends from 0 to 1. It is displayed correctly initially, but after zooming in, the right-most bin is clipped early (i.e. earlier than the y-axis).

Here is the histogram code:

i3d3.plot({data: [{type: "bars",
                 bins: [1,2,3,4,3,2,1],
                 range: [0,1]},
                ],
         div: "plot1",
         size: [400, 200],
       })

screen shot 2013-12-19 at 11 59 35

sboeser commented 10 years ago

https://bugs.icecube.wisc.edu/view.php?id=6813