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

Unable to reproduce example in the Readme due to axis missconfiguration #21

Open
jpmvferreira opened this issue Aug 12, 2022 · 0 comments

Comments

@jpmvferreira
Copy link

Describe the bug
When testing out the snippet present in the Readme where you use Numpy to plot user generated samples, the xlimits, as well as the axis being shared, are wrong.

To Reproduce
Steps to reproduce the behavior:

  1. Copy the code from the Readme;
  2. Run it;
  3. See error.

Expected behavior
The plot should look like the one presented on the Readme.

Screenshots
The code should reproduce the image found on the Readme, i.e.:
image

Instead, it shows the following:
image

Desktop (please complete the following information):

  • OS: Manjaro, x86_64 GNU/Linux (kernel version 5.4.206-1)
  • Python: 3.10.4
  • Installation method: pip
  • Using a conda compatible virtual environment manager named micromamba

Additional context
Here's a copy of my Python virtual environment:

Solution
I've made a patch to fix this issue (it's quite literally 4 lines of code):
patch.txt

@jpmvferreira jpmvferreira changed the title Example in the Readme has the wrong limits Unable to reproduce example in the Readme due to axis missconfiguration Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant