Tweaks for selecting y axes for plots, especially ones with small ranges.
Tweaks for selecting y axes for plots, especially ones with small ranges.

The previous range selection heuristic tended to be too aggressive in expanding
the range of the y-axis when dealing with values close to 0. For example, if
all of the values ranged between 0.65 and 0.7 then it would set the y-range to
somewhere near [-0.1, 0.7], making it impossible to see changes over time. If
all the values [0, 1e-4] then it would select a range close to [-0.1, 1e-4].

This change adds logic to avoid expanding the range of the y-axis too much. It
also modifies the 'ignore outliers' logic to select a range that includes 90%
of the data, as opposed to the checked-in version that uses 80%.
Change: 151071239

shakedel/tensorboard,agrubb/tensorboard,qiuminxu/tensorboard,qiuminxu/tensorboard,tensorflow/tensorboard,agrubb/tensorboard,tensorflow/tensorboard,francoisluus/tensorboard-supervise,qiuminxu/tensorboard,ioeric/tensorboard,francoisluus/tensorboard-supervise,tensorflow/tensorboard,ioeric/tensorboard,agrubb/tensorboard,agrubb/tensorboard,francoisluus/tensorboard-supervise,qiuminxu/tensorboard,shakedel/tensorboard,shakedel/tensorboard,shakedel/tensorboard,tensorflow/tensorboard,agrubb/tensorboard,shakedel/tensorboard,agrubb/tensorboard,ioeric/tensorboard,francoisluus/tensorboard-supervise,francoisluus/tensorboard-supervise,ioeric/tensorboard,ioeric/tensorboard,tensorflow/tensorboard,qiuminxu/tensorboard,francoisluus/tensorboard-supervise,shakedel/tensorboard,ioeric/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,qiuminxu/tensorboard