Where to specify DAG-related options within a plot function?
Some DAG operations that operate on the level of the plot function and not a single transformation, such as setting the file_cache_defaults
and probably defining meta_operations
(not yet tested), are not compatible with the facet_grid
plot.
I encountered this issue while trying to set file_cache_defaults
for a facet_grid
plot. It resulted in errors because the parameter was passed on to xarray
's FacetGrid
plot function, which obviously does not have a kwarg
called file_cache_defaults
.
We should probably check whether this also concerns the generic errorbar
function and the draw_graph
plot.
Proposal
Perhaps the best way to solve the issue would be to remove the DAG
-related settings before passing a copy of a specific plot configuration to a plot function.