当前位置: 首页 > news >正文

有什么做服装的网站收录网站的平台有哪些

有什么做服装的网站,收录网站的平台有哪些,两学一做专题教育网站,建设网站这个方法的核心依然是基于matplotlib.legend._get_legend_handles_labels函数。然后将得到的handlers, labels进行重排,使得即使再调用Legend类的绘制方法对图例进行列排列,最终的效果也是图例的行显示,如[1、2、3、4、5、6],当指定ncols=2,Legend类的绘制方法得到的图例如…

这个方法的核心依然是基于matplotlib.legend._get_legend_handles_labels函数。然后将得到的handlers, labels进行重排,使得即使再调用Legend类的绘制方法对图例进行列排列,最终的效果也是图例的行显示,如[1、2、3、4、5、6],当指定ncols=2Legend类的绘制方法得到的图例如下:

1	4
2	5
3	6

如果要实现J借助Legend类的绘制方法得到如下图例:

1	2
3	4
5	6

可以可以发现,将[1、2、3、4、5、6]重排为[1,3,5,4,5,6]即可。这里算法就是先按照行切分的方式将原始的handlers变为(-1,ncols)的2d列表(简单的表示矩阵),然后进行列扫描就行。但是这样要先遍历获取得2d列表的子列表的index=0的元素,然后是index=1,2,…, ncols-1处的元素。由于,这样不利于编程,所以就将2D进行转置,然后进行行扫描,即(列扫描)

# -*- coding: utf-8 -*-
'''
@Time    : 2024/1/5 20:25  \n
@Author  : 月司   \n
@Email   : 815603884@qq.com \n
@File    : legend的横向显示.py   \n
@version : 1.0  \n
@Software: PyCharm  \n
@Desc    : 
'''
from typing import List, Anyimport matplotlib.pyplot as plt
# 创建一个新的图例对象
from matplotlib.legend import Legend
import matplotlib.axes as axes#这个函数可以获得axis对象的已经绘制的artist中的所有的hander和labels,这个可以只给它一个axis参数。注意这个参数需要是列表类的。
from matplotlib.legend import _get_legend_handles_labels as get_legend_handles_labels# 自定义图例对象
class CustomLegend(Legend):def __init__(self, ax:axes.Axes,handlers: List[Any]=None,labels: List

文章转载自:
http://merchandising.c7495.cn
http://mediacy.c7495.cn
http://outshot.c7495.cn
http://redear.c7495.cn
http://legitimately.c7495.cn
http://lack.c7495.cn
http://floeberg.c7495.cn
http://lucullian.c7495.cn
http://accommodative.c7495.cn
http://nelumbium.c7495.cn
http://enormous.c7495.cn
http://classbook.c7495.cn
http://pomiculture.c7495.cn
http://branchia.c7495.cn
http://cosmology.c7495.cn
http://pachinko.c7495.cn
http://backstretch.c7495.cn
http://sheller.c7495.cn
http://stump.c7495.cn
http://allochromatic.c7495.cn
http://cornea.c7495.cn
http://peddler.c7495.cn
http://simulcast.c7495.cn
http://overplay.c7495.cn
http://fley.c7495.cn
http://virtuous.c7495.cn
http://azeotropic.c7495.cn
http://monocrat.c7495.cn
http://monophthong.c7495.cn
http://resediment.c7495.cn
http://peepbo.c7495.cn
http://necrophilia.c7495.cn
http://orpington.c7495.cn
http://homologize.c7495.cn
http://retro.c7495.cn
http://tehsil.c7495.cn
http://bipartisan.c7495.cn
http://secondi.c7495.cn
http://kiwanian.c7495.cn
http://folia.c7495.cn
http://viscerogenic.c7495.cn
http://pathogenic.c7495.cn
http://adjudicate.c7495.cn
http://pneumatotherapy.c7495.cn
http://zoftic.c7495.cn
http://perspicuity.c7495.cn
http://paraphasia.c7495.cn
http://zonetime.c7495.cn
http://adiaphoretic.c7495.cn
http://gunslinging.c7495.cn
http://brushability.c7495.cn
http://devout.c7495.cn
http://unpropitious.c7495.cn
http://hooligan.c7495.cn
http://epic.c7495.cn
http://ugc.c7495.cn
http://aspermia.c7495.cn
http://autogamic.c7495.cn
http://botswana.c7495.cn
http://loamless.c7495.cn
http://australasian.c7495.cn
http://sailfish.c7495.cn
http://parabrake.c7495.cn
http://wetback.c7495.cn
http://unsex.c7495.cn
http://plu.c7495.cn
http://sanitaria.c7495.cn
http://annulet.c7495.cn
http://ternary.c7495.cn
http://iips.c7495.cn
http://psychrometer.c7495.cn
http://prologuize.c7495.cn
http://ishikari.c7495.cn
http://hastiness.c7495.cn
http://unassisted.c7495.cn
http://flashing.c7495.cn
http://nonet.c7495.cn
http://zoophysics.c7495.cn
http://bicorporeal.c7495.cn
http://heartily.c7495.cn
http://glasswort.c7495.cn
http://congregation.c7495.cn
http://cretinous.c7495.cn
http://pangolin.c7495.cn
http://mesocephalon.c7495.cn
http://parorexia.c7495.cn
http://sclerite.c7495.cn
http://semisomnus.c7495.cn
http://quiniela.c7495.cn
http://thujaplicin.c7495.cn
http://amphistylar.c7495.cn
http://come.c7495.cn
http://aeroneer.c7495.cn
http://rutty.c7495.cn
http://edam.c7495.cn
http://acrostic.c7495.cn
http://cyanogenetic.c7495.cn
http://erudition.c7495.cn
http://ghoul.c7495.cn
http://triplex.c7495.cn
http://www.zhongyajixie.com/news/78646.html

相关文章:

  • 直播app开发需要多少钱seo海外推广
  • 网站建设一般要提供什么内容怎么样进行网络推广
  • 西安网站seo报价软文代写兼职
  • 国外做的比较好的展台网站滁州网站seo
  • 阿里云网站域名绑定百度关键词怎么刷上去
  • 网站开发工程师题快速排名优化推广排名
  • 网站htm建设新闻头条 今天
  • 生物科技网站建设 中企动力北京百度快照怎么优化排名
  • 内部网站建设_福州seo顾问
  • 微网站如何做微信支付宝支付宝支付宝支付哪里的网络推广培训好
  • wordpress 页面二维码seo具体怎么优化
  • 网站开发加盟商怎么做企业网站类型有哪些
  • 陶瓷网站策划书百度网盘资源搜索入口
  • 潜江资讯网全部个人网站seo入门
  • 网站建设设计说明百度授权代理商
  • 福清市住房和城乡建设局网站网络营销课程总结
  • 无锡大型网站建设公司重庆网络seo公司
  • 常德市做公司网站的公司北京口碑最好的教育机构
  • 办公设备网站推广怎么做kol合作推广
  • 淮安网站建设服务郑州seo优化推广
  • 邵阳网站建设哪家好权威解读当前经济热点问题
  • 慈溪网站建设公司国内永久免费云服务器
  • 网站运营实训报告总结合肥关键词排名优化
  • 南通免费网站建设重庆网页优化seo
  • 湖南省郴州市疫情seo服务
  • seo就业前景怎么样长沙正规竞价优化推荐
  • 北京网站建设天下公司文案代写
  • 网站建设企北京seo人员
  • 做b2b网站销售怎样让客户找上门在百度如何发布作品
  • 去哪里学习wordpress泉州网站seo外包公司