How do I get arviz to stretch the X-axis out where I can it’s readable? I know by the above that these are bad priors but I’d like to start with something readable so I can demonstrate how changing parameters in the RVs or adding variables changes this.
ArviZ plot functions return a matplotlib axes object. You should be able to manipulate various elements of the plot (e.g., set_xlim()) from there. Does that help?
Are things still squashed if you plot the 2 distributions separately? I’m not entirely sure how those 2 are ending up on the same axis given the 2 calls you pasted here (though I’m not sure I have tried doing exactly what you have).
@OriolAbril would be able to answer definitively, but I might suggest creating a single axis by hand (e.g., plt.subplots() or plt.figure().gca(), etc.) and then passing that single axis into each call to plot_hist (i.e., az.plot_hist(...ax=my_axis)). I suspect the issue is caused by arviz automatically trying to create an axis for each plot. Then you should be able to tweak the axis as you wish. Not 100% on that, but it seems reasonable.
The main convention for histograms is to label the “mark” (mid point generally, otherwise useful/relevant id) of each bin and to do so explicitly. When done independently both plots look more or less normal, but when overlaying them such labeling becomes problematic unless the histograms share the bins.
As what is labeled isn’t really the axis but the histogram bins, if we label using the histogram with greater range we should get visible labels that expand most of the axis, it will generally look good, but you might not be able to actually interpret the narrower histogram. If viceversa, you’ll get only labels on the section of the plot covered by the narrower range, which generally means way too many labels in too little horizontal space