-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
xlim of traceplot does not cover all range of values #585
Comments
This is with pip arviz? I think we could force minimum xlim length to 3 with discrete parameters. |
Thank you for your reply. Probably I needed to give more details - my issue was orinally posted on pymc3, but I was then directed here, see pymc-devs/pymc#3359. I used the default provided by pymc3, and I didn't call out arviz specifically in my program. |
@aakhmetz thanks for reporting this problem. I think I know were is the problem, I will check and send a PR soon. @ahartikainen I think this is due to how we set the |
Ok, sound good. |
Description of your problem
xlim of traceplot may not cover all range of traces for discrete variables. For example, if I get two chains: one with mean 28, another one with mean 32. Then the traceplot will show only one bar at x=28 and xlim from 27.5 to 28.5.
For discrete values I used DiscreteUniform:
ps: I assume that it's because the fraction of those points outside of chosen xlim-range is rather small, but it would be nice to see the consistent picture between left and right panels
Versions and main components
The text was updated successfully, but these errors were encountered: