- changed the shapely imports a bit according to the specifications of Shapely 2.0
- changed the requirements.txt file to reflect the need for at least Shapely in version 2.0
This commit is contained in:
@@ -14,7 +14,7 @@ from PyQt6.QtCore import pyqtSignal
|
||||
# Used for solid polygons in Matplotlib
|
||||
from descartes.patch import PolygonPatch
|
||||
|
||||
from shapely.geometry import Polygon, LineString, LinearRing
|
||||
from shapely import Polygon, LineString, LinearRing
|
||||
|
||||
from copy import deepcopy
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ from vispy.visuals import CompoundVisual, LineVisual, MeshVisual, TextVisual, Ma
|
||||
from vispy.scene.visuals import VisualNode, generate_docstring, visuals
|
||||
from vispy.gloo import set_state
|
||||
from vispy.color import Color
|
||||
from shapely.geometry import Polygon, LineString, LinearRing
|
||||
from shapely import Polygon, LineString, LinearRing
|
||||
import threading
|
||||
import numpy as np
|
||||
from appGUI.VisPyTesselators import GLUTess
|
||||
|
||||
Reference in New Issue
Block a user