Data container for streamplot arrows Stores position, direction, size and style for arrow rendering
Polygon boundary with ordered vertex points
Region between contour levels with boundary polygons
Figure state and configuration data Encapsulates all configuration and state management
Main figure class - coordinates plotting operations Now uses composition of focused modules for better organization
Error result type containing status and message
Status type for simpler error handling
Single Responsibility: Legend box dimensions and position
Single Responsibility: Represents one legend entry
Single Responsibility: Legend layout and rendering coordination
Pcolormesh data container Stores grid vertices and color data for quadrilateral mesh rendering
Data container for individual plots Separated from figure to follow Single Responsibility Principle
Subplot data container (extracted from fortplot_figure_core)
Individual subplot container
Test result type for better test management
Encapsulates vector graphics state to provide clean API
Abstract interface for vector stream writers (PDF, SVG, etc.)