.view()抛出错误“matplotlib当前正在使用非GUI后端”

时间:2018-02-24 16:16:47

标签: python view scikit-learn jupyter-notebook jupyter

以下是我正在处理的代码并引用以下网站 Link

import numpy as np
import skfuzzy as fuzz
from skfuzzy import control as ctrl


soc = ctrl.Antecedent(np.arange(0, 11, 1), 'soc')
log = ctrl.Antecedent(np.arange(0, 11, 1), 'log')
aut = ctrl.Consequent(np.arange(0, 11, 1), 'aut')

log.automf(3)
soc.automf(3)
aut.automf(3)

soc.view()

我在Jupyter笔记本中运行此代码

0 个答案:

没有答案