Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Fix missing scatterplot in CBPS in Python vs R tutorial #82

Open
talgalili opened this issue Jun 9, 2024 · 0 comments
Open

[BUG] Fix missing scatterplot in CBPS in Python vs R tutorial #82

talgalili opened this issue Jun 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@talgalili
Copy link
Contributor

In this tutorial:
https://import-balance.org/docs/tutorials/comparing_cbps_in_r_vs_python_using_sim_data/

We have variations of the following line commented out:
adjust.df.plot.scatter("cbps_weights", "weight", loglog=True)
(there are two calls for adjust.df.plot.scatter)

It's commented out because otherwise it leads to an error in github pages
See:
bc6d4e3?fbclid=IwAR0rz8HfVzsrjtI3u-lLswQGVdGj4J5r-np4Nj9B2g0nNIoP-MlcUKp5TuU

It was fixed by removing the figures, done here:
90300b2

It would be nice to find a way to bring the plots back.

Without raising also:

/home/runner/.local/lib/python3.10/site-packages/pandas/plotting/_matplotlib/core.py:1114: UserWarning:

No data for colormapping provided via 'c'. Parameters 'cmap' will be ignored
@talgalili talgalili added the bug Something isn't working label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant