def test_data_unforced_margin(self): # where you supply data and you want to build a grid covering it. bins, binedges, centregrid, edgegrid = ternary_grid(data=self.data)
def test_data_forced_margin(self): # where you supply data and you want to build a grid covering it, # but enforce the margin (such that some data might fall outside the grid) bins, binedges, centregrid, edgegrid = ternary_grid(data=self.data, force_margin=True)
def test_default(self): # no data supplied, grid will cover ternary space up until some margin bins, binedges, centregrid, edgegrid = ternary_grid()