matplotlab
西涯侠(Python)
这个作者很懒,什么都没留下…
展开
-
使用matplotlab绘制3D视图
使用matplotlab绘制3D图像,首先需要引入一个3D模块mpl_toolkits.mplot3d中的Axes3D,绘制图像fig=plt.figure(),绘制3D图像ax=Axes3D(),直接上代码:import numpy as npimport matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d import Axes3Dfi...原创 2018-10-31 10:25:02 · 711 阅读 · 0 评论 -
数据强化
# -*- coding: utf-8 -*- """import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plt#1. 随机调整图片的色彩,定义两种顺序。def distort_color(image, color_ordering=0): if color_ordering == 0: ...转载 2018-11-19 18:20:17 · 225 阅读 · 0 评论