saving . . . saved (sin(x)*sin(x))/x not working in canopy has been deleted. (sin(x)*sin(x))/x not working in canopy has been hidden .
(sin(x)*sin(x))/x not working in canopy
Title
Question
I get an error message, "TypeError", with a traceback. It says "unsupported operand type(s) for /: 'Line2D' and 'float'.

Is this command not expected to work in Enthought's canopy?

Python Using-the-plot-command-interactively 07-08 min 10-20 sec 25-07-15, 6:51 a.m. kannan

Answers:

Dear User,

The error message has nothing to do with Enthought's canopy. It will show you the same error for any other ipython as well if you don't provide brackets to entire calculation.
Please try plot((sin(x)*sin(x))/x). This will not show you the error message.

Hope this helps.

Thanks.
25-07-15, 12:30 p.m. Trupti


Log-in to answer to this question.