This would in principle be redundant with the information that you pass to the constructor. But the utility would be to define a common plot in terms of layer definitions and then to iterate on the variable assignments. Things to consider:
- If
data is to be a valid keyword, maybe update is a better name?
- Would this method also allow global assignment of "extra" variables, like variables that stat transforms can handle, which are not passable to the constructor?
This would in principle be redundant with the information that you pass to the constructor. But the utility would be to define a common plot in terms of layer definitions and then to iterate on the variable assignments. Things to consider:
datais to be a valid keyword, maybeupdateis a better name?