import matplotlib.pyplot as plt
import numpy as np# 创建一些正常分布的数据
mean [0, 0]
cov [[1, 1], [1, 2]]
x, y np.random.multivariate_normal(mean, cov, 3000).T# Set up the axes with gridspec
fig plt.figure(figsize(6, 6))
grid plt.GridSpec(4, 4, hspa…
区别
Autowired默认按类型装配
Resource优先按名称装配
报错一 Spring boot注入组件: Bean named XXX is expected to be of type TTT but was actually of type TTT 原因
因为Autowired默认按类型装配,而 Resource优先按名称装配,如果使…