<tfoot id='UsinL'></tfoot>

    <bdo id='UsinL'></bdo><ul id='UsinL'></ul>

  • <small id='UsinL'></small><noframes id='UsinL'>

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

        如何为海运中的每个小情节取不同的标题

        How to get different titles for each of the subplots in seaborn(如何为海运中的每个小情节取不同的标题)

        <tfoot id='zEu7Z'></tfoot>

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

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

                <tbody id='zEu7Z'></tbody>
                  本文介绍了如何为海运中的每个小情节取不同的标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我无法获得第一个箱形图的标题/X-Label&;Y-Label。第二个BoxPlot为我提供标签/标题。我可以改进什么?

                  fig, (ax1,ax2) =plt.subplots(1,2,figsize=(30,15))
                  
                  sns.boxplot(y = 'CVotesUS', x = 'IFUS', data = movies, ax=ax1)
                  
                  plt.title('US Votes')
                  
                  plt.xlabel('US & Non-US Movies')
                  
                  plt.ylabel('US Voters')
                  
                  sns.boxplot(y = 'CVotesnUS', x = 'IFUS', data = movies, ax=ax2)
                  
                  plt.title('Non-US Votes for US and Non-US Movies')
                  
                  plt.xlabel('US & Non-US Movies')
                  
                  plt.ylabel('Non-US Voters')
                  

                  These are the BoxPlots

                  推荐答案

                  使用ax1和ax2设置标题,标签而不是PLT。

                  fig, (ax1,ax2) =plt.subplots(1,2,figsize=(30,15))
                  
                  sns.boxplot(y = 'CVotesUS', x = 'IFUS', data = movies, ax=ax1)
                  
                  ax1.set_title('US Votes')
                  
                  ax1.set_xlabel('US & Non-US Movies')
                  
                  ax1.set_ylabel('US Voters')
                  
                  sns.boxplot(y = 'CVotesnUS', x = 'IFUS', data = movies, ax=ax2)
                  
                  ax2.set_title('Non-US Votes for US and Non-US Movies')
                  
                  ax2.set_xlabel('US & Non-US Movies')
                  
                  ax2.set_ylabel('Non-US Voters')
                  

                  为了演示,我将sns.boxplot()保留为空

                  这篇关于如何为海运中的每个小情节取不同的标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  groupby multiple coords along a single dimension in xarray(在xarray中按单个维度的多个坐标分组)
                  Group by and Sum in Pandas without losing columns(Pandas中的GROUP BY AND SUM不丢失列)
                  Group by + New Column + Grab value former row based on conditionals(GROUP BY+新列+基于条件的前一行抓取值)
                  Groupby and interpolate in Pandas(PANDA中的Groupby算法和插值算法)
                  Pandas - Group Rows based on a column and replace NaN with non-null values(PANAS-基于列对行进行分组,并将NaN替换为非空值)
                  Grouping pandas DataFrame by 10 minute intervals(按10分钟间隔对 pandas 数据帧进行分组)
                      <bdo id='K4v7r'></bdo><ul id='K4v7r'></ul>

                          <tbody id='K4v7r'></tbody>

                      1. <small id='K4v7r'></small><noframes id='K4v7r'>

                          <tfoot id='K4v7r'></tfoot>

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