枫也木胜 發表於 2020-5-7 13:05:00

推荐一款Python数据可视化神器

<div class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgba(62, 62, 62, 1); line-height: 1.6; word-spacing: 0; letter-spacing: 0; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif"><h3 id="h1" style="line-height: inherit; margin: 1.5em 5px 2em 0; font-weight: bold; font-size: 1.3em; padding: 8px 15px; letter-spacing: 2px; background-image: linear-gradient(135deg, rgba(0, 188, 212, 1), rgba(63, 81, 181, 1)); background-color: rgba(63, 81, 181, 1); color: rgba(255, 255, 255, 1); border-left: 10px solid rgba(51, 51, 51, 1); border-radius: 5px; text-shadow: 1px 1px 1px rgba(102, 102, 102, 1); box-shadow: 1px 1px 2px rgba(102, 102, 102, 1)"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">1. 前言</span></h3>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">在日常工作中,为了更直观的发现数据中隐藏的规律,察觉到变量之间的互动关系,人们常常借助可视化帮助我们更好的给他人解释现象,做到一图胜千文的说明效果。</p>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">在Python中,常见的数据可视化库有:</p>
<ul style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0 0 0 32px; list-style-type: disc">
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">matplotlib 是最常见的2维库,可以算作可视化的必备技能库,由于matplotlib是比较底层的库,api很多,代码学起来不太容易。</p></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">seaborn 是建构于matplotlib基础上,能满足绝大多数可视化需求。更特殊的需求还是需要学习matplotlib。</p></li>
</ul>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">上述两个库都是静态的可视化库,大多数做过前端Web开发的同学都用到过Echarts.js库,它是一款前端可视化的JS库、功能非常之强大。在使用之前,需要导入js库到项目中。对于平时用Python较多的同学而言,如果每次实现可视化功能(特别是一些小需求),都需要引用js库显然不太方便,于是就在想有没有Python与Echarts结合的轮子。<strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">答案是肯定的</strong>,在Github中就有一个国人开发的一个Echarts与Python结合的轮子:Pyecharts,它不仅很好的兼容了web项目,而且可以做到可视化的动态效果。</p>
<h3 id="h2pyecharts" style="line-height: inherit; margin: 1.5em 5px 2em 0; font-weight: bold; font-size: 1.3em; padding: 8px 15px; letter-spacing: 2px; background-image: linear-gradient(135deg, rgba(0, 188, 212, 1), rgba(63, 81, 181, 1)); background-color: rgba(63, 81, 181, 1); color: rgba(255, 255, 255, 1); border-left: 10px solid rgba(51, 51, 51, 1); border-radius: 5px; text-shadow: 1px 1px 1px rgba(102, 102, 102, 1); box-shadow: 1px 1px 2px rgba(102, 102, 102, 1)"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">2. Pyecharts介绍</span></h3>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">Pyecharts 是一个用于生成 Echarts 图表的类库。常规的Echarts 是由百度开源的一个数据可视化 JS 库,主要用于数据可视化。简单来说,Pyecharts是一款将python与echarts结合的强大的数据可视化工具。</p>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">使用 Pyecharts 可以生成独立的网页,也可以在 flask , Django 中集成使用。</p>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">项目介绍:</p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs cpp" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important">http:<span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">//pyecharts.herokuapp.com/</span><br></code></pre>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">项目源码:</p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs cpp" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important">https:<span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">//github.com/pyecharts/pyecharts</span><br></code></pre>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">从项目文档介绍可知, pyecharts目前分为两个大的系列版本:0.5.x 和v1.x.x。</p>
<ul style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0 0 0 32px; list-style-type: disc">
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">V0.5.x</strong><br>支持 Python2.7,3.4+</li>
</ul>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">0.5.x 版本将不再进行维护,文档位于 <code style="font-size: inherit; line-height: inherit; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: rgba(233, 105, 0, 1); background: rgba(248, 248, 248, 1)">05x-docs.pyecharts.org</code>。</p>
<ul style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0 0 0 32px; list-style-type: disc">
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">V1</strong><br>仅支持 Python3.6+</li>
</ul>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">新版本系列将从 v1.0.0 开始,文档位于 pyecharts.org;示例位于 <code style="font-size: inherit; line-height: inherit; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0 2px; color: rgba(233, 105, 0, 1); background: rgba(248, 248, 248, 1)">gallery.pyecharts.org</code></p>
<blockquote style="line-height: inherit; display: block; padding: 15px 15px 15px 1rem; font-size: 0.9em; margin: 1em 0; color: rgba(129, 145, 152, 1); border-left: 6px solid rgba(220, 230, 240, 1); background: rgba(242, 247, 251, 1); overflow: auto; overflow-wrap: normal; word-break: normal">
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 0">PS: v0.5.x 和 V1 间不兼容,V1 是一个全新的版本。</p>
</blockquote>
<h3 id="h3pyecharts30" style="line-height: inherit; margin: 1.5em 5px 2em 0; font-weight: bold; font-size: 1.3em; padding: 8px 15px; letter-spacing: 2px; background-image: linear-gradient(135deg, rgba(0, 188, 212, 1), rgba(63, 81, 181, 1)); background-color: rgba(63, 81, 181, 1); color: rgba(255, 255, 255, 1); border-left: 10px solid rgba(51, 51, 51, 1); border-radius: 5px; text-shadow: 1px 1px 1px rgba(102, 102, 102, 1); box-shadow: 1px 1px 2px rgba(102, 102, 102, 1)"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">3. Pyecharts支持30+种可视化图表</span></h3>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">得益于Echarts 项目,目前Pyecharts支持 30+ 种常见图表,如下所示:</p>
<ul style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0 0 0 32px; list-style-type: disc">
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Bar(柱状图/条形图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Bar3D(3D 柱状图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Boxplot(箱形图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">EffectScatter(散点图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Funnel(漏斗图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Gauge(仪表盘) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Geo(地理坐标系) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Graph(关系图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">HeatMap(热力图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Kline(K线图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Line(折线/面积图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Line3D(3D 折线图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Liquid(水球图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Map(地图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Parallel(平行坐标系) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Pie(饼图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Polar(极坐标系) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Radar(雷达图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Sankey(桑基图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Scatter(散点图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">Scatter3D(3D 散点图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">ThemeRiver(主题河流图) </span></li>
<li style="font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 0.5em; padding: 0">WordCloud(词云图)<br><figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/45b1303e7891407b835f925c90a2d06e" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure></li>
</ul>
<h3 id="h4pyecharts" style="line-height: inherit; margin: 1.5em 5px 2em 0; font-weight: bold; font-size: 1.3em; padding: 8px 15px; letter-spacing: 2px; background-image: linear-gradient(135deg, rgba(0, 188, 212, 1), rgba(63, 81, 181, 1)); background-color: rgba(63, 81, 181, 1); color: rgba(255, 255, 255, 1); border-left: 10px solid rgba(51, 51, 51, 1); border-radius: 5px; text-shadow: 1px 1px 1px rgba(102, 102, 102, 1); box-shadow: 1px 1px 2px rgba(102, 102, 102, 1)"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">4. Pyecharts安装</span></h3>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">1、pip 安装</strong></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs php" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;安装&nbsp;v1&nbsp;以上版本</span><br>$&nbsp;pip&nbsp;install&nbsp;pyecharts&nbsp;-U<br><br><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;如果需要安装&nbsp;0.5.11&nbsp;版本的开发者,可以使用</span><br><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;pip&nbsp;install&nbsp;pyecharts==0.5.11</span><br></code></pre>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">2、源码安装</strong></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs shell" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">#</span><span class="bash" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; word-wrap: inherit !important; word-break: inherit !important">&nbsp;v1&nbsp;以上版本</span><br><span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">$</span><span class="bash" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; word-wrap: inherit !important; word-break: inherit !important">&nbsp;git&nbsp;<span class="hljs-built_in" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">clone</span>&nbsp;https://github.com/pyecharts/pyecharts.git</span><br><span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">#</span><span class="bash" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; word-wrap: inherit !important; word-break: inherit !important">&nbsp;如果需要安装&nbsp;0.5.11&nbsp;版本,请使用&nbsp;git&nbsp;<span class="hljs-built_in" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">clone</span>&nbsp;https://github.com/pyecharts/pyecharts.git&nbsp;-b&nbsp;v05x</span><br><span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">$</span><span class="bash" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; word-wrap: inherit !important; word-break: inherit !important">&nbsp;<span class="hljs-built_in" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">cd</span>&nbsp;pyecharts</span><br><span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">$</span><span class="bash" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; word-wrap: inherit !important; word-break: inherit !important">&nbsp;pip&nbsp;install&nbsp;-r&nbsp;requirements.txt</span><br><span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">$</span><span class="bash" style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; word-wrap: inherit !important; word-break: inherit !important">&nbsp;python&nbsp;setup.py&nbsp;install</span><br></code></pre>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">在使用pip安装库时,由于墙的原因,下载时可能会出现断线和速度过慢的问题导致下载失败,所以建议通过豆瓣源或清华镜像来进行下载:</p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs nginx" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;豆瓣源下载</span><br><span class="hljs-attribute" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">pip</span>&nbsp;install&nbsp;-i&nbsp;https://pypi.douban.com/simple&nbsp;pyecharts<br><br><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;清华镜像源</span><br>pip&nbsp;install&nbsp;-i&nbsp;https://pypi.tuna.tsinghua.edu.cn/simple&nbsp;pyecharts<br></code></pre>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">PS: 这里要专门说明一下,自从 0.3.2 开始,为了缩减项目本身的体积以及维持 pyecharts 项目的轻量化运行,pyecharts 将不再自带地图 js 文件。如用户需要用到地图图表(Geo、Map),可自行安装对应的地图文件包。</p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs sql" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;通过pip命令进行安装</span><br>pip&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">install</span>&nbsp;echarts-countries-pypkg<br>pip&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">install</span>&nbsp;echarts-china-provinces-pypkg<br>pip&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">install</span>&nbsp;echarts-china-cities-pypkg<br></code></pre>
<h3 id="h5pyecharts" style="line-height: inherit; margin: 1.5em 5px 2em 0; font-weight: bold; font-size: 1.3em; padding: 8px 15px; letter-spacing: 2px; background-image: linear-gradient(135deg, rgba(0, 188, 212, 1), rgba(63, 81, 181, 1)); background-color: rgba(63, 81, 181, 1); color: rgba(255, 255, 255, 1); border-left: 10px solid rgba(51, 51, 51, 1); border-radius: 5px; text-shadow: 1px 1px 1px rgba(102, 102, 102, 1); box-shadow: 1px 1px 2px rgba(102, 102, 102, 1)"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">5. Pyecharts官方示例实战</span></h3>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">现在我们来开始正式使用pycharts,这里我们先直接使用官方的数据,感受一下可视化展示效果。</p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs coffeescript" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Bar<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><br><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;V1&nbsp;版本开始支持链式调用</span><br>bar&nbsp;=&nbsp;(<br>&nbsp;&nbsp;&nbsp;&nbsp;Bar()<br>&nbsp;&nbsp;&nbsp;&nbsp;.add_xaxis([<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"衬衫"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"毛衣"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"领带"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"裤子"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"风衣"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"高跟鞋"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"袜子"</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;.add_yaxis(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"商家A"</span>,&nbsp;[<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">114</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">55</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">27</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">101</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">125</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">27</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">105</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;.add_yaxis(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"商家B"</span>,&nbsp;[<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">57</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">134</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">137</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">129</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">145</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">60</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">49</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_global_opts(title_opts=opts.TitleOpts(title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"某商场销售情况"</span>))<br>)<br>bar.render_notebook()<br></code></pre>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">在这里顺便安利一下jupyter,pyecharts在v0.1.9.2版本开始,在jupyter上可以直接调用实例(例如上方直接调用bar.render_notebook())就可以将图表直接展示出来,非常方便。<br></p><figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/acd3b61a4a0841a3bfeb8ed9a1c2c1cd" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">如果脚本在非jupyter环境运行,图表渲染方法需改为: </p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs css" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-selector-tag" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">bar</span><span class="hljs-selector-class" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(165, 218, 45, 1); word-wrap: inherit !important; word-break: inherit !important">.render</span>()<br></code></pre>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">默认情况下,pycharts生成图表为HTML格式,也支持生成png图片格式,如下:</p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs python" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;snapshot_selenium&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;snapshot&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;driver<br><br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Bar<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.render&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;make_snapshot<br><br><br><span class="hljs-function" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">def</span>&nbsp;<span class="hljs-title" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(165, 218, 45, 1); word-wrap: inherit !important; word-break: inherit !important">bar_chart</span><span class="hljs-params" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(255, 152, 35, 1); word-wrap: inherit !important; word-break: inherit !important">()</span>&nbsp;-&gt;&nbsp;Bar:</span><br>&nbsp;&nbsp;&nbsp;&nbsp;c&nbsp;=&nbsp;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bar()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.add_xaxis([<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"衬衫"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"毛衣"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"领带"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"裤子"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"风衣"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"高跟鞋"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"袜子"</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.add_yaxis(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"商家A"</span>,&nbsp;[<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">114</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">55</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">27</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">101</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">125</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">27</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">105</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.add_yaxis(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"商家B"</span>,&nbsp;[<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">57</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">134</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">137</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">129</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">145</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">60</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">49</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.reversal_axis()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.set_series_opts(label_opts=opts.LabelOpts(position=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"right"</span>))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.set_global_opts(title_opts=opts.TitleOpts(title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"Bar-测试渲染图片"</span>))<br>&nbsp;&nbsp;&nbsp;&nbsp;)<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">return</span>&nbsp;c<br><br><span class="hljs-comment" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(128, 128, 128, 1); word-wrap: inherit !important; word-break: inherit !important">#&nbsp;需要安装&nbsp;snapshot-selenium&nbsp;或者&nbsp;snapshot-phantomjs</span><br>make_snapshot(driver,&nbsp;bar_chart().render(),&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"bar.png"</span>)<br></code></pre>
<figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/bea67a0fb1dc44f9855220712380457e" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure>
<h3 id="h6pyecharts" style="line-height: inherit; margin: 1.5em 5px 2em 0; font-weight: bold; font-size: 1.3em; padding: 8px 15px; letter-spacing: 2px; background-image: linear-gradient(135deg, rgba(0, 188, 212, 1), rgba(63, 81, 181, 1)); background-color: rgba(63, 81, 181, 1); color: rgba(255, 255, 255, 1); border-left: 10px solid rgba(51, 51, 51, 1); border-radius: 5px; text-shadow: 1px 1px 1px rgba(102, 102, 102, 1); box-shadow: 1px 1px 2px rgba(102, 102, 102, 1)"><span style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0">6. Pyecharts几种高频使用的可视化图表</span></h3>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">在上面官方示例中的柱状图表我们已经能感受到pycharts可视化功能的强大,最后再介始几种日常工作中常用的可视化图表及对应示例。</p>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">6.1 Pie饼状图</strong></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs coffeescript" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Pie<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.faker&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Faker<br><br>pie&nbsp;=&nbsp;(<br>&nbsp;&nbsp;&nbsp;&nbsp;Pie()<br>&nbsp;&nbsp;&nbsp;&nbsp;.add(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">""</span>,&nbsp;)<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_colors([<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"blue"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"green"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"yellow"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"red"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"pink"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"orange"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"purple"</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_global_opts(title_opts=opts.TitleOpts(title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"Pie-设置颜色"</span>))<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_series_opts(label_opts=opts.LabelOpts(formatter=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"{b}:&nbsp;{c}"</span>))<br>)<br><br>pie.render_notebook()<br></code></pre>
<figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/2f5af72f311042ecadcc5bf9fe838032" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure><br><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">6.2 仪表盘</strong><p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs coffeescript" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Gauge<br><br>g&nbsp;=&nbsp;(<br>&nbsp;&nbsp;&nbsp;&nbsp;Gauge()<br>&nbsp;&nbsp;&nbsp;&nbsp;.add(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">""</span>,&nbsp;[(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"完成率"</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">66.6</span>)])<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_global_opts(title_opts=opts.TitleOpts(title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"Gauge-基本示例"</span>))<br><br>)<br>g.render_notebook()<br></code></pre>
<figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/3c2345c28f06404c8142088f7a36ad05" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">6.3 折线图</strong></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs python" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;pyecharts.options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Line<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.faker&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Faker<br><br>c&nbsp;=&nbsp;(<br>&nbsp;&nbsp;&nbsp;&nbsp;Line()<br>&nbsp;&nbsp;&nbsp;&nbsp;.add_xaxis(Faker.choose())<br>&nbsp;&nbsp;&nbsp;&nbsp;.add_yaxis(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"商家A"</span>,&nbsp;Faker.values(),&nbsp;is_smooth=<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">True</span>)<br>&nbsp;&nbsp;&nbsp;&nbsp;.add_yaxis(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"商家B"</span>,&nbsp;Faker.values(),&nbsp;is_smooth=<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">True</span>)<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_global_opts(title_opts=opts.TitleOpts(title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"Line-smooth"</span>))<br><br>)<br>c.render_notebook()<br></code></pre>
<figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/d69df3693d664599bcb6cc744f9eb948" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure><br><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">6.4 K线图</strong><p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs cs" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts&nbsp;import&nbsp;options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;import&nbsp;Kline<br><br>data&nbsp;=&nbsp;[<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2320.26,&nbsp;2320.26,&nbsp;2287.3,&nbsp;2362.94</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2300,&nbsp;2291.3,&nbsp;2288.26,&nbsp;2308.38</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2295.35,&nbsp;2346.5,&nbsp;2295.35,&nbsp;2345.92</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2347.22,&nbsp;2358.98,&nbsp;2337.35,&nbsp;2363.8</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2360.75,&nbsp;2382.48,&nbsp;2347.89,&nbsp;2383.76</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2383.43,&nbsp;2385.42,&nbsp;2371.23,&nbsp;2391.82</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2377.41,&nbsp;2419.02,&nbsp;2369.57,&nbsp;2421.15</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2425.92,&nbsp;2428.15,&nbsp;2417.58,&nbsp;2440.38</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2411,&nbsp;2433.13,&nbsp;2403.3,&nbsp;2437.42</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2432.68,&nbsp;2334.48,&nbsp;2427.7,&nbsp;2441.73</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2430.69,&nbsp;2418.53,&nbsp;2394.22,&nbsp;2433.89</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2416.62,&nbsp;2432.4,&nbsp;2414.4,&nbsp;2443.03</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2441.91,&nbsp;2421.56,&nbsp;2418.43,&nbsp;2444.8</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2420.26,&nbsp;2382.91,&nbsp;2373.53,&nbsp;2427.07</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2383.49,&nbsp;2397.18,&nbsp;2370.61,&nbsp;2397.94</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2378.82,&nbsp;2325.95,&nbsp;2309.17,&nbsp;2378.82</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2322.94,&nbsp;2314.16,&nbsp;2308.76,&nbsp;2330.88</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2320.62,&nbsp;2325.82,&nbsp;2315.01,&nbsp;2338.78</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2313.74,&nbsp;2293.34,&nbsp;2289.89,&nbsp;2340.71</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2297.77,&nbsp;2313.22,&nbsp;2292.03,&nbsp;2324.63</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2322.32,&nbsp;2365.59,&nbsp;2308.92,&nbsp;2366.16</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2364.54,&nbsp;2359.51,&nbsp;2330.86,&nbsp;2369.65</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2332.08,&nbsp;2273.4,&nbsp;2259.25,&nbsp;2333.54</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2274.81,&nbsp;2326.31,&nbsp;2270.1,&nbsp;2328.14</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2333.61,&nbsp;2347.18,&nbsp;2321.6,&nbsp;2351.44</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2340.44,&nbsp;2324.29,&nbsp;2304.27,&nbsp;2352.02</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2326.42,&nbsp;2318.61,&nbsp;2314.59,&nbsp;2333.67</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2314.68,&nbsp;2310.59,&nbsp;2296.58,&nbsp;2320.96</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2309.16,&nbsp;2286.6,&nbsp;2264.83,&nbsp;2333.29</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2282.17,&nbsp;2263.97,&nbsp;2253.25,&nbsp;2286.33</span>],<br>&nbsp;&nbsp;&nbsp;&nbsp;[<span class="hljs-meta" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(91, 218, 237, 1); word-wrap: inherit !important; word-break: inherit !important">2255.77,&nbsp;2270.28,&nbsp;2253.31,&nbsp;2276.22</span>],<br>]<br><br><br>k&nbsp;=&nbsp;(<br>&nbsp;&nbsp;&nbsp;&nbsp;Kline()<br>&nbsp;&nbsp;&nbsp;&nbsp;.add_xaxis([<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"2017/7/{}"</span>.format(i&nbsp;+&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">1</span>)&nbsp;<span class="hljs-function" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">for</span>&nbsp;i&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">in</span>&nbsp;<span class="hljs-title" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(165, 218, 45, 1); word-wrap: inherit !important; word-break: inherit !important">range</span>(<span class="hljs-params" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(255, 152, 35, 1); word-wrap: inherit !important; word-break: inherit !important"><span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">31</span></span>)])<br>&nbsp;&nbsp;&nbsp;&nbsp;.<span class="hljs-title" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(165, 218, 45, 1); word-wrap: inherit !important; word-break: inherit !important">add_yaxis</span>(<span class="hljs-params" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(255, 152, 35, 1); word-wrap: inherit !important; word-break: inherit !important"><span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"k线图"</span>,&nbsp;data</span>)<br>&nbsp;&nbsp;&nbsp;&nbsp;.<span class="hljs-title" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(165, 218, 45, 1); word-wrap: inherit !important; word-break: inherit !important">set_global_opts</span>(<span class="hljs-params" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(255, 152, 35, 1); word-wrap: inherit !important; word-break: inherit !important"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yaxis_opts=opts.AxisOpts(is_scale=True</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xaxis_opts</span>=opts.AxisOpts(is_scale=True),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title_opts=opts.TitleOpts(title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"K线图-基本示例"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;)<br><br>)<br>k.render_notebook()<br></code></pre>
<figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/78ef876360104e87a573877ca14fe31e" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">6.5 地图Map</strong></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs javascript" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;<span class="hljs-built_in" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">Map</span><br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.faker&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;Faker<br><br>map&nbsp;=&nbsp;(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="hljs-built_in" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">Map</span>()<br>&nbsp;&nbsp;&nbsp;&nbsp;.add(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"中国地图"</span>,&nbsp;,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"china"</span>)<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_global_opts(title_opts=opts.TitleOpts(title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"Map-基本示例"</span>))<br>)<br>map.render_notebook()<br></code></pre>
<figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/e50ef6eb5b5344b687aa991d4e197e39" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0"><strong style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; font-weight: bold">6.6 词云图</strong></p>
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><code class="hljs python" style="overflow-wrap: break-word; margin: 0 2px; line-height: 18px; font-size: 14px; font-weight: normal; word-spacing: 0; letter-spacing: 0; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0; color: rgba(169, 183, 198, 1); background: rgba(40, 43, 46, 1); overflow-x: auto; padding: 0.5em; white-space: pre !important; word-wrap: normal !important; word-break: normal !important; overflow: auto !important"><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;pyecharts.options&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">as</span>&nbsp;opts<br><span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">from</span>&nbsp;pyecharts.charts&nbsp;<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">import</span>&nbsp;WordCloud<br><br><br>data&nbsp;=&nbsp;[<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"生活资源"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"999"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供热管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"888"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供气质量"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"777"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"生活用水管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"688"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"一次供水问题"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"588"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"交通运输"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"516"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"城市交通"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"515"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"环境保护"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"483"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"房地产管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"462"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"城乡建设"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"449"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"社会保障与福利"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"429"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"社会保障"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"407"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"文体与教育管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"406"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"公共安全"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"406"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"公交运输管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"386"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"出租车运营管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"385"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供热管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"375"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"市容环卫"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"355"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"自然资源管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"355"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"粉尘污染"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"335"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"噪声污染"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"324"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"土地资源管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"304"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"物业服务与管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"304"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"医疗卫生"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"284"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"粉煤灰污染"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"284"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"占道"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"284"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供热发展"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"254"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"农村土地规划管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"254"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"生活噪音"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"253"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供热单位影响"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"253"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"城市供电"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"房屋质量与安全"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"大气污染"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"房屋安全"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"文化活动"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"拆迁管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"公共设施"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供气质量"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供电管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"223"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"燃气管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"教育管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"医疗纠纷"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"执法监督"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"设备安全"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"政务建设"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"县区、开发区"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"宏观经济"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"152"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"教育管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"112"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"社会保障"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"112"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"生活用水管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"112"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"物业服务与管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"112"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"分类列表"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"112"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"农业生产"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"112"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"二次供水问题"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"112"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"城市公共设施"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"92"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"拆迁政策咨询"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"92"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"物业服务"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"92"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"物业管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"92"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"社会保障保险管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"92"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"低保管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"92"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"文娱市场管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"72"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"城市交通秩序管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"72"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"执法争议"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"72"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"商业烟尘污染"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"72"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"占道堆放"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"地上设施"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"水质"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"无水"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供热单位影响"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"人行道管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"主网原因"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"集中供热"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"客运管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"国有公交(大巴)管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"工业粉尘污染"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"治安案件"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"压力容器安全"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"身份证管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"71"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"群众健身"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"工业排放污染"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"破坏森林资源"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"市场收费"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"生产资金"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"生产噪声"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"农村低保"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"劳动争议"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"劳动合同争议"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"劳动报酬与福利"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"41"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"医疗事故"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"21"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"停供"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"21"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"基础教育"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"21"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"职业教育"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"21"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"物业资质管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"21"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"拆迁补偿"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"21"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"设施维护"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"21"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"市场外溢"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"占道经营"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"树木管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"农村基础设施"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"无水"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"供气质量"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"停气"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"燃气管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"市容环卫"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"新闻传媒"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"人才招聘"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"市场环境"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"行政事业收费"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"食品安全与卫生"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"城市交通"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"房地产开发"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"房屋配套问题"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"物业服务"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"物业管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"占道"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"园林绿化"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"户籍管理及身份证"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"公交运输管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"公路(水路)交通"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"房屋与图纸不符"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"有线电视"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"社会治安"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"林业资源"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"其他行政事业收费"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"经营性收费"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"食品安全与卫生"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"体育活动"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"有线电视安装及调试维护"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"低保管理"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"劳动争议"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"社会福利及事务"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;(<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"一次供水问题"</span>,&nbsp;<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"11"</span>),<br>]<br><br><br>c=(<br>&nbsp;&nbsp;&nbsp;&nbsp;WordCloud()<br>&nbsp;&nbsp;&nbsp;&nbsp;.add(series_name=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"热点分析"</span>,&nbsp;data_pair=data,&nbsp;word_size_range=[<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">6</span>,&nbsp;<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">66</span>])<br>&nbsp;&nbsp;&nbsp;&nbsp;.set_global_opts(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title_opts=opts.TitleOpts(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title=<span class="hljs-string" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(238, 220, 112, 1); word-wrap: inherit !important; word-break: inherit !important">"热点分析"</span>,&nbsp;title_textstyle_opts=opts.TextStyleOpts(font_size=<span class="hljs-number" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(174, 135, 250, 1); word-wrap: inherit !important; word-break: inherit !important">23</span>)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tooltip_opts=opts.TooltipOpts(is_show=<span class="hljs-keyword" style="font-size: inherit; line-height: inherit; margin: 0; padding: 0; color: rgba(248, 35, 117, 1); word-wrap: inherit !important; word-break: inherit !important">True</span>),<br>&nbsp;&nbsp;&nbsp;&nbsp;)<br><br>)<br>c.render_notebook()<br></code></pre>
<figure style="font-size: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0"><img src="http://pb3.pstatp.com/large/pgc-image/ed85461fecae4ac2945b14c96edba105" alt="" title="" style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; display: block; margin: 0 auto; max-width: 100%"><figcaption style="line-height: inherit; margin: 10px 0 0; padding: 0; text-align: center; color: rgba(153, 153, 153, 1); font-size: 0.7em"></figcaption></figure>
<p style="font-size: inherit; color: inherit; line-height: inherit; padding: 0; margin: 1.5em 0">上述示例仅供参考,读者们结合日常工作应用,学会举一反三才是关健,更多Pychart示例介绍可见:代码示例</p></div>

</div>
<div id="MySignature" role="contentinfo">
    技术改变世界!
         --狂诗绝剑<br><br>
来源:https://www.cnblogs.com/jinjiangongzuoshi/p/12842381.html
頁: [1]
查看完整版本: 推荐一款Python数据可视化神器