Hello c,

On Friday, January 1, 2016 at 5:01:37 AM UTC+1, Alex Dowling wrote:
>
> I'd like to use a unicode character as a marker in plots created with 
> PyPlot. Here is a minimal code example:
>
> x = [ 0 1 2]
> y = x
> scatter(x,y,marker="\U0001F4A7")
>
> which produces the following error:
>
>
>  

> My questions:
>
>    1. Any suggestions regarding the error above?
>
>
as far as i can see the mathplotlib documentation about scatter and entries 
in marker 
(http://matplotlib.org/api/markers_api.html#module-matplotlib.markers) 
there are only certain entries in marker allowed and no free text. If you 
have a limited set of x,y you could use pyplot.text which handles local 
coordinates and unicode text.
 

Reply via email to