gglogger is an R package that logs the calls used to create ggplot2 objects.
conda install pwwang::r-gglogger