python - plot.ly 悬停框大小属性

标签 python hover plotly

我正在使用 plot.ly Python api并且无法弄清楚如何调整 plotly 悬停框大小的大小。

例如,在下面的可视化中,CollegeClass.... 的标签被截断了。我想调整悬停框中字符串的长度。

enter image description here

最佳答案

我可能来晚了一点,但我找到了连击解决方案 将 hoverlabel: {namelength :-1} 添加到我的跟踪对象中就可以了。

来自 Here

关于python - plot.ly 悬停框大小属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36207887/

相关文章:

python - 关于 Monty Hall 问题的程序未返回预期结果

python - PyQt5 : QWebEngineView can't render local html file in Windows 7

python - 如何在不杀死 python 脚本的情况下停止它?

python - pip 和 virtualenv(没有 virtualenvwrapper): pip install package_name gives permission denied but using sudo installs globally

ios - 通过点击 iOS 中的其他位置,超链接的悬停状态不会消失

python - Kmeans 返回的集群可视化

python-3.x - 将 jupyter notebook 转换为幻灯片时,绘图图不显示

python - 最好的 Python GIS 库?

css - 背景图像自动缩放

jquery - 需要在 jquery 站点中更改背景图像 onmouseover