Jupyter making 3D matplotlib graphs extremely small

后端 未结 3 1454
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-16 09:17

Having read many of the posts on this site about resizing graphs and setting limits on graph sizes in Jupyter, I am virtually convinced there is something different when it

3条回答
  •  清歌不尽
    2021-01-16 09:59

    This is due to a bug in matplotlib 3.0.0. It should not occur in matplotlib 3.0.1.

    Options you have:

    • Update to matplotlib 3.0.1
    • Set the following option in your jupyter notebook before plotting

      %config InlineBackend.print_figure_kwargs = {'bbox_inches':None}
      
    • Use the %matplotlib notebook backend instead of the %matplotlib inline one.

提交回复
热议问题