소스 검색

avoid overlap of annotation and legend

George C. Privon 5 년 전
부모
커밋
f595c88d75
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      email_stats.py

+ 2 - 2
email_stats.py

@@ -176,8 +176,8 @@ ax.plot(np.arange(len(months)),
         label='All Emails')
 
 ax.annotate('N={0:1.0f}'.format(np.sum(total)),
-            (0.99, 0.99),
-            ha='right',
+            (0.05, 0.95),
+            ha='left',
             va='top',
             xycoords='axes fraction')