jdhao's digital space
Recent content on jdhao's digital space
马上订阅 jdhao's digital space RSS 更新: https://jdhao.github.io/index.xml
How To Put Legend outside of Axes Properly in Matplotlib?
2018年1月23日 14:51
When we want to put legend somewhere in a figure using Matplotlib, most of the
time, the option loc='best' will produce the desired results. However,
sometimes, we may want to have finer control over where the legend should be in
the image. For example, we may want to put the legend outside of the axes,
which is impossible using loc='best'.