We are using Plotly transform to filter points on a scatterplot. We followed the example on: https://plot.ly/python/multiple-transforms/#filter-and-group-by
Now, we are trying to add the count of the visible points to the legend labels. We checked the API and only found groupby.nameformat
What would the best way to achieve something like this:
AFTER MEAL HIGH is the label and the (3) in the bracket is the count we want to obtain.