Skip to content

Commit

Permalink
Better fix for the import_array issue
Browse files Browse the repository at this point in the history
  • Loading branch information
itziakos committed Feb 1, 2025
1 parent a6f8880 commit 5f54ee0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kiva/_marker_renderer.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
# is also available online at http://www.enthought.com/licenses/BSD.txt
#
# Thanks for using Enthought open source!
import cython
import numpy as np
from numpy cimport uint8_t
numpy.import_array()

from numpy cimport uint8_t, import_array
cimport cython
from . cimport _marker_renderer

import_array()

ctypedef _marker_renderer.marker_renderer_base renderer_base_t

@cython.internal
Expand Down

0 comments on commit 5f54ee0

Please sign in to comment.