Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Flammability Part 2

Download lecture freeform here: physical/supportfiles/311Flammability.pdf

Python Flammability Diagram

Below code modified from that orginally submitted by Isaac Matthews, 2024.

Requirements for the equalateral flammability diagram below: #pip install matplotlib, python-ternary; the below code wont work if you install ternary,

UOL in pure oxygen: 94.03%
/Users/clintguymon/opt/anaconda3/envs/jupiterbook/lib/python3.9/site-packages/ternary/plotting.py:148: UserWarning: No data for colormapping provided via 'c'. Parameters 'vmin', 'vmax' will be ignored
  ax.scatter(xs, ys, vmin=vmin, vmax=vmax, **kwargs)
<Figure size 1000x800 with 1 Axes>
References
  1. Guymon, C. (2025). Foundations of Spiritual and Physical Safety: with Chemical Processes.