Plotly Legent Aa labels how to remove them

你说的曾经没有我的故事 提交于 2020-03-19 06:22:32

问题


I am using a scatter plot with mode = markers+text. The legends appear with this disturbing Aa label. Anyway to remove them? I am using plotly for python


回答1:


It's certanly not the right way to perform the task, but if you want to render images using Orca - there is no other option.

  1. Locate plotly.min.js (plotly.io.to_image() use internal library at site-packages\plotly\package_data)

  2. Find and replace x.tx="Aa" to x.tx=""




回答2:


Unfortunately removing Aa label when using mode = markers+text is not available in plotly

Found the answer here



来源:https://stackoverflow.com/questions/51091593/plotly-legent-aa-labels-how-to-remove-them

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!