stefanradev93 / BayesFlow

A Python library for amortized Bayesian workflows using generative neural networks.
https://bayesflow.org/
MIT License
297 stars 45 forks source link

set label names in plot_recovery() #102

Closed levolz closed 11 months ago

levolz commented 12 months ago

qol change to allow to change label names if wanting something other than "ground truth" / "estimated"

stefanradev93 commented 12 months ago

Pls add new arguments in the docstring of the function too.

stefanradev93 commented 12 months ago

Pls also pull requests for Development, no direct pulls to master.

levolz commented 12 months ago

changed now - re: docstrings, n_col & n_row are not documented yet

stefanradev93 commented 12 months ago

Nice. 10x, need to document those too.

levolz commented 12 months ago

Wasn't sure about style, though - instead of

xlabel : XXX ylabel : YYY

you could (for brevity) do

xlabel, ylabel : XXX, YYY

stefanradev93 commented 12 months ago

As per convention, each arg gets its own line with type, default and a new line for description (see existing, looks nice when rendered).