• <bdo id='dqsqh'></bdo><ul id='dqsqh'></ul>

    <small id='dqsqh'></small><noframes id='dqsqh'>

  1. <legend id='dqsqh'><style id='dqsqh'><dir id='dqsqh'><q id='dqsqh'></q></dir></style></legend>

      <i id='dqsqh'><tr id='dqsqh'><dt id='dqsqh'><q id='dqsqh'><span id='dqsqh'><b id='dqsqh'><form id='dqsqh'><ins id='dqsqh'></ins><ul id='dqsqh'></ul><sub id='dqsqh'></sub></form><legend id='dqsqh'></legend><bdo id='dqsqh'><pre id='dqsqh'><center id='dqsqh'></center></pre></bdo></b><th id='dqsqh'></th></span></q></dt></tr></i><div id='dqsqh'><tfoot id='dqsqh'></tfoot><dl id='dqsqh'><fieldset id='dqsqh'></fieldset></dl></div>
      <tfoot id='dqsqh'></tfoot>

      如何在海运中填划线下面积

      时间:2024-08-20

      <tfoot id='zWHza'></tfoot>
        <i id='zWHza'><tr id='zWHza'><dt id='zWHza'><q id='zWHza'><span id='zWHza'><b id='zWHza'><form id='zWHza'><ins id='zWHza'></ins><ul id='zWHza'></ul><sub id='zWHza'></sub></form><legend id='zWHza'></legend><bdo id='zWHza'><pre id='zWHza'><center id='zWHza'></center></pre></bdo></b><th id='zWHza'></th></span></q></dt></tr></i><div id='zWHza'><tfoot id='zWHza'></tfoot><dl id='zWHza'><fieldset id='zWHza'></fieldset></dl></div>

          <legend id='zWHza'><style id='zWHza'><dir id='zWHza'><q id='zWHza'></q></dir></style></legend>

          <small id='zWHza'></small><noframes id='zWHza'>

          • <bdo id='zWHza'></bdo><ul id='zWHza'></ul>
                  <tbody id='zWHza'></tbody>
              • 本文介绍了如何在海运中填划线下面积的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我要填充线条图下面的区域,使其看起来如下图所示:

                而不是

                基于以下.csv文件生成:

                01-01-97    1
                01-02-97    2
                01-03-97    3
                     ...
                01-11-17    251
                01-12-17    252
                01-01-18    253
                

                我应该在此代码中更改哪些内容才能生成所需的图形?

                import pandas as pd
                import seaborn as sns
                from matplotlib import pyplot as plt
                
                # load csv
                df=pd.read_csv("test.csv")
                # generate graph
                g = sns.lineplot(x="Date", y="Data", data=df)
                
                plt.show()
                

                推荐答案

                plt.fill_between(df.Date.values, df.Data.values)
                

                这篇关于如何在海运中填划线下面积的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:如何更改显示图的图形大小 下一篇:Seborn FactGrid子图的一个共享x轴标签(布局/间距?)

                相关文章

                  <i id='UUKLR'><tr id='UUKLR'><dt id='UUKLR'><q id='UUKLR'><span id='UUKLR'><b id='UUKLR'><form id='UUKLR'><ins id='UUKLR'></ins><ul id='UUKLR'></ul><sub id='UUKLR'></sub></form><legend id='UUKLR'></legend><bdo id='UUKLR'><pre id='UUKLR'><center id='UUKLR'></center></pre></bdo></b><th id='UUKLR'></th></span></q></dt></tr></i><div id='UUKLR'><tfoot id='UUKLR'></tfoot><dl id='UUKLR'><fieldset id='UUKLR'></fieldset></dl></div>
                1. <legend id='UUKLR'><style id='UUKLR'><dir id='UUKLR'><q id='UUKLR'></q></dir></style></legend>
                2. <small id='UUKLR'></small><noframes id='UUKLR'>

                  <tfoot id='UUKLR'></tfoot>
                      <bdo id='UUKLR'></bdo><ul id='UUKLR'></ul>