some matplotlib figures not showing up #7
Comments
thanks @fkazemian I think this is an issue with the code which is not showing the |
Yes. This is a bug with either matplotlib or the jupyter notebook - if you re-run the cell, the image will show up. For some reason it seems that matplotlib needs to be initialised once before it displays images inline. |
Ah I see this is in the generated notebook... um yes ok this seems to be a recent bug with Jupyter notebooks. Here is a discussion of the issue: holoviz/holoviews#68 Can we change the settings for matplotlib? |
@natashawatkins any changes are just required to be in a code-block for it to be contained in the notebook. Are suggesting we update the lecture to have these changes to make showing images more robust? |
No I was wondering whether it would be possible to edit the config file for matplotlib as suggested in the thread. The location should be |
That's weird, maybe it's timing out... We should definitely remove those print statements, on another note |
@fkazemian is this happening locally for you also? When I built the |
arma: Hi @mmcky I don't have this problem when I'm running it locally: |
hey @fkazemian when I run arma locally -- the first time I get the text output and the second run I get the figure. That is a bit strange. Do you get the same? |
Hi @mmcky , no actually in the first time run I got the figure, and also I just checked arma locally again and I got the figure in my first run. I am using the computer in the lab ( Number1). |
I have edited the builder to prepend |
@fkazemian I have pushed the latest to compare-lectures.quantecon.org. Would you mind checking if this is fixed. There may still be a few missing if execution time takes longer than 1200s. |
Hi @mmcky sure, I'll check all of them |
Hi @mmcky I checked about 20 of them (as you can see above) and all of them are fixed, so it seems this bug is fixed and I change the label to Fixed, Thanks |
thanks @fkazemian that's a big help. Good news. |
The text was updated successfully, but these errors were encountered: