You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a ElementList to filter Elements visualised by the visualise function, no filter is applied and all elements are displayed.
frompy_pdf_parser.loadersimportload_filefrompy_pdf_parser.visualiseimportvisualisedocument=load_file("path_to_file.pdf")
visualise(document, elements=document.elements[0::2]) #should only display every other element
When using a ElementList to filter Elements visualised by the visualise function, no filter is applied and all elements are displayed.
py_pdf_parser/visualise/main.py : PDFVisualiser.__plot_current_page
This part of the method does not take into account the elements parameter.
I propose to change it to :
To perform the intersection between the two sets.
PS: I am working on a pull request.
The text was updated successfully, but these errors were encountered: