sbslee / dokdo

A Python package for microbiome sequencing analysis with QIIME 2
https://dokdo.readthedocs.io
MIT License
42 stars 12 forks source link

Deprecate the artist_kwargs argument from plotting methods #19

Closed sbslee closed 3 years ago

sbslee commented 3 years ago

The artist_kwargs argument in main plotting methods -- and the dokdo.common._artist method for that matter -- will be gradually deprecated because it has gotten unnecessarily complicated.

This argument was originally created because I was not familiar enough with the matplotlib package and did not want to memorize the package's methods used for changing various properties of a figure (e.g. title, axis, legend, font size). However, it has become clear that it's not feasible to capture all the functionality of matplotlib with a single private method (i.e. dokdo.common._artist). Therefore, the artist_kwargs argument will be removed from the main plotting methods in the upcoming releases.