Rethinking_2 Chp_04: update plot functions, flag trace_to_dataframe() deprecation #139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there. Here are some updates:
ax.imshow()
keyword changed frombottom
tolower
az.plot_hpd()
updated toaz.plot_hdi()
in various placestrace_to_dataframe()
functions for now; fixing it feels a little beyond me and I don't want to break the code. I think the potential solution is below, but can't work out how to get the covariance estimates needed for this section. Happy for a developer to fix, or I could attempt a fix if someone could give pointers. Thanks.Notes: For PyCharm users, in the .py export of the Notebook, PyCharm indicates that
dmatrix
can't be found in__init__.py
but the code still runs. From old posts, this seems to be a bug.Thanks also for the helpful PR template.
pre-commit
checks run and passed. I should probably break this up into small commits next time. I have tried to update (rebase) my fork of the repo correctly given there's many contributors. Please tell me if anything is awry, but hopefully everything works. Thanks for your patience as I'm on this interesting learning curve!