tput: терминал атрибуты: нет такого устройства или адреса
Атрибуты tput: Terminal: Нет такого устройства или адреса в Enthought Canopy. я стараюсь
import plotly.plotly as py
import numpy as np
data = [dict(
visible = False,
line=dict(color='00CED1', width=6),
name = ' = '+str(step),
x = np.arange(0,10,0.01),
y = np.sin(step*np.arange(0,10,0.01))) for step in np.arange(0,5,0.1)]
data[10]['visible'] = True
steps = []
for i in range(len(data)):
step = dict(
method = 'restyle',
args = ['visible', [False] * len(data)],
)
step['args'][1][i] = True # Toggle i'th trace to "visible"
steps.append(step)
sliders = [dict(
active = 10,
currentvalue = {"prefix": "Frequency: "},
pad = {"t": 50},
steps = steps
)]
layout = dict(sliders=sliders)
fig = dict(data=data, layout=layout)
py.iplot(fig, filename='Sine Wave Slider')
Итак, получаю ошибку:
tput: terminal attributes: No such device or address
tput: terminal attributes: No such device or address
tput: terminal attributes: No such device or address
tput: terminal attributes: No such device or address
tput: terminal attributes: No such device or address
tput: terminal attributes: No such device or address
tput: terminal attributes: No such device or address
Как я могу исправить эту проблему tput?