介绍
可以使用 plt.gcf()和 plt.gca()获得当前的图表和坐标轴,分别表示 Get Current Figure 和 Get Current Axes。在 pyplot 模块中,许多函数都是对当前的 Figure 或 Axes 对象进行处理,比如说:plt.plot()实际上会通过 plt.gca()获得当前的 Axes 对象 ax,然后再调用 ax.plot()方法实现真正的绘图。
Reading and Coding!
1 | import sklearn |
sklearn 的数据集库 datasets 提供很多不同的数据集,主要包含以下几大类:
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia-plus根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true