dexplo / dataframe_image

A python package for embedding pandas DataFrames as images into pdf and markdown documents
https://dexplo.org/dataframe_image
MIT License
282 stars 41 forks source link

Missing dependency for `table_conversion='matplotlib'` #41

Closed WillTarran closed 1 year ago

WillTarran commented 2 years ago

Execution of e.g. dfi.export(dataframe, filename, table_conversion='matplotiib') currently fails with

    raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

This can obviously be addressed by installing lxml.

However since BeautifulSoup note that requested parsers should be installed manually, and this parser is explicitly requested as a hard-coded argument here, should lxml not be included as a stated dependency of this package?