[英]How to plot data in form of gauge using python without plotly as I have to do offline?
I have data that I need to plot as a gauge/meter.我有数据需要 plot 作为量规/仪表。 I cannot use
plotly
as it works only online.我不能使用
plotly
因为它只能在线使用。
What do you mean by a "gauge/meter". “仪表/米”是什么意思。 If you just to fill an area to a given percentage, take a look at
broken_barh
for an horizontal gauge.如果您只是将一个区域填充到给定的百分比,请查看
broken_barh
以获取水平仪表。 If you want a vertical one, you will have to do it yourself:如果你想要一个垂直的,你必须自己做:
If you want some more fancy stuff, I just found an example which seems to match the plotly
style.如果您想要一些更花哨的东西,我刚刚找到了一个似乎与
plotly
风格相匹配的示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.