Fix plot_text
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import os
|
||||
|
||||
from ..core import Geometry
|
||||
from ..utils import get_page_layout, get_text_objects
|
||||
|
||||
|
||||
@@ -17,5 +16,4 @@ class BaseParser(object):
|
||||
self.horizontal_text = get_text_objects(self.layout, ltype="lh")
|
||||
self.vertical_text = get_text_objects(self.layout, ltype="lv")
|
||||
self.pdf_width, self.pdf_height = self.dimensions
|
||||
self.rootname, __ = os.path.splitext(self.filename)
|
||||
self.g = Geometry()
|
||||
self.rootname, __ = os.path.splitext(self.filename)
|
||||
Reference in New Issue
Block a user