| 1 |
Index: geophar/wxgeometrie/API/moteur_graphique.py |
| 2 |
=================================================================== |
| 3 |
--- geophar.orig/wxgeometrie/API/moteur_graphique.py |
| 4 |
+++ geophar/wxgeometrie/API/moteur_graphique.py |
| 5 |
@@ -1029,6 +1029,10 @@ class Moteur_graphique(object): |
| 6 |
def _effacer_artistes(self): |
| 7 |
"Supprime tous les artistes (objets graphiques de matplotlib)." |
| 8 |
dico = self._dico_artistes() |
| 9 |
+ """ |
| 10 |
+ THOSES LINES TRIGGER AN "Unhandled Python exception", SEE |
| 11 |
+ BUG #1126099, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126099 |
| 12 |
+ ----------------------------------------------------------------------- |
| 13 |
self.axes.artists.clear() |
| 14 |
self.axes.lines.clear() |
| 15 |
self.axes.patches.clear() |
| 16 |
@@ -1036,6 +1040,7 @@ class Moteur_graphique(object): |
| 17 |
self.axes.tables.clear() |
| 18 |
self.axes.images.clear() |
| 19 |
self.axes.collections.clear() # collection.Collection instances |
| 20 |
+ """ |
| 21 |
return dico |
| 22 |
|
| 23 |
|