回答編集履歴
1
fix context
test
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
+
`handler_map={tuple:HandlerTuple(ndivide=None)}`を使うときは,次のようにすると良いでしょう.
|
2
|
+
|
3
|
+
```Python
|
4
|
+
plt.plot()
|
5
|
+
plt.legend(labels=["SiO2", "C", "another"], handler_map={tuple:HandlerTuple(ndivide=None)})
|
6
|
+
```
|
7
|
+
|
1
|
-
`plt.plot()`するたびにラベルを指定していれば,凡例が生成されてしまうので,1度プロットしたカテゴリのものは2度目からは`label = None`にする
|
8
|
+
うまくいかない場合は,応急的になりますが次のようにできます.`plt.plot()`するたびにラベルを指定していれば,凡例が生成されてしまうので,1度プロットしたカテゴリのものは2度目からは`label = None`にする方法があります.
|
2
9
|
|
3
10
|
```Python
|
4
11
|
show_sio2_label = True
|