情节:如何扩展情节表达散点图的色彩?
这是我的代码。但是有些颜色是回收的。我需要52种不同种类的颜色。我该如何解决这个问题?
fig = px.scatter(Xt[:,0], Xt[:,1], color=DF["ScientifName"])
fig.show()
This is my code. But some colors are recycled. I need 52 different kinds of color. How can I solve this problem?
fig = px.scatter(Xt[:,0], Xt[:,1], color=DF["ScientifName"])
fig.show()
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个创建任意颜色类型的函数。所需的图将通过将创建的颜色列表设置为颜色来创建。请参阅详细信息。
There is a function to create arbitrary color types. The desired graph will be created by setting the created color list to color. See this for details.