查看Python QuickStart的源代码
←
Python QuickStart
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== Matplotlib == * [https://matplotlib.org/gallery/index.html Gallery] * [https://matplotlib.org/users/dflt_style_changes.html Change the Colors] Changes to the default style * [https://matplotlib.org/gallery/axes_grid1/demo_fixed_size_axes.html Demo Fixed Size Axes] * [https://matplotlib.org/gallery/subplots_axes_and_figures/multiple_figs_demo.html Multiple Figs Demo] * [https://matplotlib.org/gallery/text_labels_and_annotations/usetex_demo.html Usetex Demo] * [https://matplotlib.org/gallery/text_labels_and_annotations/text_fontdict.html Controlling style of text and labels using a dictionary] * [https://matplotlib.org/api/_as_gen/matplotlib.pyplot.plot.html matplotlib.pyplot.plot()] * [https://matplotlib.org/api/_as_gen/matplotlib.pyplot.figure.html matplotlib.pyplot.figure()] * [https://matplotlib.org/gallery/text_labels_and_annotations/annotation_demo.html Annotating Plots] * [https://matplotlib.org/tutorials/introductory/customizing.html Customizing Matplotlib with style sheets and rcParams ] <br> === bar === * [https://matplotlib.org/api/_as_gen/matplotlib.pyplot.bar.html#matplotlib.pyplot.bar matplotlib.pyplot.bar] * [https://matplotlib.org/api/_as_gen/matplotlib.pyplot.annotate.html#matplotlib.pyplot.annotate matplotlib.pyplot.annotate] <source lang=python> def currency(x, pos): """The two args are the value and tick position""" if x >= 1e6: s = '${:1.1f}M'.format(x*1e-6) else: s = '${:1.0f}K'.format(x*1e-3) return s formatter = FuncFormatter(currency) fig, ax = plt.subplots(figsize=(6, 8)) ax.xaxis.set_major_formatter(formatter) </source> <br> === hist === * [https://matplotlib.org/gallery/statistics/histogram_cumulative.html?highlight=cdf hist.cdf] <br>
返回到
Python QuickStart
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面