enclose-rect & useBins
Some minor new features:
-
enclose-rect
: All frames now honor a newenclose-rect
annotation type that surrounds the array of coordinates (for<ORFrame>
or<XYFrame>
) or the array of ids (for<NetworkFrame>
) with a bounding box.
-
useBins
: Bucketized summary types in<ORFrame>
(violin
,joy
,histogram
,heatmap
) now honor auseBins
prop in the passedsummaryType
. This defaults to true, so that under the hood the summary visualization still uses a binning function (D3's histogram) but if set touseBins: false
it will assume that the passed array of data is a set of coordinates with which to draw the summaryType. This is useful for when you have precalculated positions for your summary visualizations.