Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下问题。我正在使用 plotlys 平行坐标,我需要未标记的线以另一种颜色显示,而不是标准灰色,因为它是默认的。有什么选择吗?
最好的问候] 1
你可以试试这样
import plotly.plotly as py import plotly.graph_objs as go data = [ go.Parcoords( marker = dict( size = 10, color = 'rgba(152, 0, 0, .8)', # default line = dict( width = 2, color = 'rgb(0, 0, 0)' ) ) ) ]