To matplotlib-users,

When I do:
cd basemap-1.0.7/examples
python3 simpletest.py

Then I get this error message:
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/backends/backend_gtk3cairo.py",
line 32, in on_draw_event
    self._render_figure(w, h)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/backends/backend_gtk3cairo.py",
line 21, in _render_figure
    self.figure.draw (self._renderer)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/artist.py",
line 56, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/figure.py",
line 1035, in draw
    func(*args)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/artist.py",
line 56, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/axes.py",
line 2088, in draw
    a.draw(renderer)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/artist.py",
line 56, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/collections.py",
line 719, in draw
    return Collection.draw(self, renderer)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/artist.py",
line 56, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/collections.py",
line 279, in draw
    self._offset_position)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/backend_bases.py",
line 234, in draw_path_collection
    self.draw_path(gc0, path, transform, rgbFace)
  File 
"/usr/local/lib/python3.4/dist-packages/matplotlib-1.3.1-py3.4-linux-i686.egg/matplotlib/backends/backend_cairo.py",
line 143, in draw_path
    raise ValueError("The Cairo backend can not draw paths longer than
18980 points.")
ValueError: The Cairo backend can not draw paths longer than 18980 points.

How can I get matplotlib basemap to work as expected?

Thanks,
Tommy

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to