Fixes #7473 Previously, `figclass`es weren't being extracted correctly. `figclass` and `align` annotations are now implemented following the rst docs: these options apply to the figure while other options are passed onto the underlying image.