0
私はpython 2.7 ggplotを使って散布図を作成します。私は背景のスチールブルーが欲しいが、いくつかの点を強調しているが、失敗した。ある人が私を助けてくれますか?python ggplot scatter emphasize
コードワンピース:
from ggplot import *
chart = ggplot(df_color, aes(x='x-tsne', y='y-tsne'))\
+ geom_point(color='steelblue',size=70,alpha=0.8)\
+ geom_point(data=df_color.loc[self.GoI,:],aes(x='x-tsne', y='y-tsne'), colour="red",size=5)\
+ ggtitle("tSNE dimensions")
エラーは、次のとおりです。
line 154
+ geom_point(data=df_color.loc[self.GoI,:],aes(x='x-tsne', y='y-tsne'), colour="red",size=5)\
SyntaxError: non-keyword arg after keyword arg