This is similar to #8915 <https://github.com/sympy/sympy/issues/8915> where 
the user tried for an Ellipse. I think we need to reopen it.

On Thursday, 26 February 2015 23:17:37 UTC+5:30, Aaron Meurer wrote:
>
> Ah, I forgot to pull first. Now I get 
>
> >>> PygletPlot(x**2) 
> Traceback (most recent call last): 
>   File "<ipython-input-6-ce172b927272>", line 1, in <module> 
>     PygletPlot(x**2) 
>   File 
> "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/pygletplot/__init__.py",
>  
>
> line 140, in PygletPlot 
>     return plot.PygletPlot(*args, **kwargs) 
>   File 
> "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/pygletplot/plot.py",
>  
>
> line 242, in __init__ 
>     self[0] = fargs 
>   File 
> "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/pygletplot/plot.py",
>  
>
> line 319, in __setitem__ 
>     f = PlotMode(*args, **kwargs) 
>   File 
> "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/pygletplot/plot_mode.py",
>  
>
> line 78, in __new__ 
>     subcls = PlotMode._get_mode(mode_arg, i, d) 
>   File 
> "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/pygletplot/plot_mode.py",
>  
>
> line 156, in _get_mode 
>     return PlotMode._get_default_mode(i, d) 
>   File 
> "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/pygletplot/plot_mode.py",
>  
>
> line 170, in _get_default_mode 
>     return PlotMode._mode_default_map[d][i] 
> KeyError: 1 
>
> Aaron Meurer 
>
> On Thu, Feb 26, 2015 at 11:12 AM, Aaditya Nair 
> <[email protected] <javascript:>> wrote: 
> > I worked on this one. `name 'c_float' not defined` is actually fixed in 
> the 
> > master branch. 
> > 
> > 
> > On Thursday, 26 February 2015 22:04:51 UTC+5:30, Aaron Meurer wrote: 
> >> 
> >> Pyglet 1.2 has been released http://www.pyglet.org/index.html. Among 
> >> other things, it supports Python 3. I just tried to use it with SymPy, 
> >> but it looks like our pygletplot module does not support Python 3 (it 
> >> uses implicit relative imports). And it doesn't work in Python 2 
> >> either (name 'c_float' is not defined).  So let's fix these, so we can 
> >> test it out. 
> >> 
> >> Aaron Meurer 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "sympy" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/sympy. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/sympy/390280a1-6316-4dc6-a6d2-7da65823633b%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c1a7d2c6-cdad-4e8c-aeab-5c4122a692e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to