I am using fmt_nanoplot to create a table with a histogram on the margins. To do this, I want to exclude the last row, which is a Total row. When I exclude the row using the rows= parameter, the scale of the plot appears as if it still factors in the row that was not plotted. I would expect that the plot scales only with the values included in the plot.
I am using fmt_nanoplot to create a table with a histogram on the margins. To do this, I want to exclude the last row, which is a Total row. When I exclude the row using the
rows=
parameter, the scale of the plot appears as if it still factors in the row that was not plotted. I would expect that the plot scales only with the values included in the plot.Reproducible example
(adapted from docs)![Screenshot 2024-04-12 14 20 51](https://github.com/posit-dev/great-tables/assets/2267370/7fabe130-4457-4606-aa43-3c6e72f0107c)
Development environment