firemodels / fds

Fire Dynamics Simulator
https://pages.nist.gov/fds-smv/
Other
625 stars 610 forks source link

Reduce fdsplotlib pdf size #12935

Closed johodges closed 1 month ago

rmcdermo commented 1 month ago

Cool. I'll give it a try. What size were you able to get to?

johodges commented 1 month ago

It's 4kb now on my machine compared to the 3kb in Matlab.

johodges commented 1 month ago

I found this setting in the "core fonts" section of the matplotlib documentation. https://matplotlib.org/stable/users/explain/text/fonts.html

rmcdermo commented 1 month ago

@johodges I reran all the cases this morning and the 1_step_2_step_compare_MLRPUA.pdf plot is showing 3.2 KB, which is great. I think we are in business.