This PR allows the width and height attributes of a MapViz instance to be sent to the .map css class in templates/main.html, thus allowing create_html to render non-fullscreen maps.
Use-case: I am building html reports that utilize MapViz objects in conjunction with other plotting libraries (plotly, matplotlib, etc.), and I need the flexibility to change the size of the map for the html report.
This PR allows the
width
andheight
attributes of aMapViz
instance to be sent to the.map
css class intemplates/main.html
, thus allowingcreate_html
to render non-fullscreen maps.Use-case: I am building html reports that utilize MapViz objects in conjunction with other plotting libraries (plotly, matplotlib, etc.), and I need the flexibility to change the size of the map for the html report.