Change history
Release history of utility-viz. Documentation-only changes are not
listed; each entry is tagged where the feature it describes is documented,
following l3doc convention, so the page number is the real page.
2.0.0b8
Label—top,bottom,leftandrightnudge one placed label Canvasthemes— The built-in themes are the shared EconViz themes, so one name gives the same look in every EconViz package; newmanualtheme Themes and configurationthemes— Nodarktheme:themes.darkandbase = "dark"warn and usedefaultThemes and configurationConfig— utility-viz's own settings live under[utility];mosaickitreads and checks the file; the old layout is still read with a warning Themes and configurationutility-viz init— Writes the new layout, with utility-viz's tables under[utility];--migratemoves them there Command-line interfaceutility-viz plot—--themeaccepts every built-in theme, includingcolorblindandmanual;darkwarns and usesdefaultCommand-line interface
2.0.0b7
Config—econ-viz.tomlis the settings file again, shared by every EconViz package;utility-viz.tomlis still read with a warning Themes and configurationutility-viz plot— Without--config, readsecon-viz.toml(orutility-viz.toml, with a warning) from the current directory Command-line interface
2.0.0b1
- Renamed from
econ-viztoutility-viz: distribution, import package, command and configuration file Introduction - Internals reorganised into
coreandmodels; the public API is the package root andutility_viz.modelsIntroduction - New dependencies
mosaickitandbezierkitIntroduction - The whole repository passes
mypy; Ruff enforces line length, complexity and statement limits Introduction utility-viz— New dependenciesmosaickit>=0.5.1,<0.6.0andbezierkit>=0.5.0rc1,<0.6.0Installationutility-viz— The repository is auvworkspace releasingutility-vizandecon-vizin lockstep Installationecon-viz— Renamed toutility-viz; theecon_vizpackage, theecon-vizcommand andecon-viz.tomllookup remain as a deprecated compatibility layer until 3.0.0 Installationecon-viz— The compatibility layer ships as a separateecon-vizdistribution, so upgrading a 1.x installation no longer deletes files shared withutility-vizInstallationUtilityVizError—UtilityVizErroris the base exception;EconVizErrorremains as an alias of the same class Quick startLeontief— Indifference curves of kinked utilities keep exact right-angle corners in Matplotlib and TikZ output Core modelscore.scenes— Backend-neutralmosaickitlayer factories for budget lines, equilibria and indifference curves, with native Bézier TikZ export Advanced modelsConfig— Default file renamedutility-viz.toml; legacyecon-viz.tomlstill read with a warning Themes and configurationConfig.discover— NewConfig.discover(), falling back to the built-in defaults when no file exists Themes and configurationutility-viz— The command is nowutility-viz;econ-vizprints a deprecation warning and forwards to it Command-line interfaceutility-viz plot— Without--config, readsutility-viz.toml(or legacyecon-viz.toml) from the current directory Command-line interfaceutility-viz init— New--migrateoption Command-line interfaceAnimator— Moved toutility_viz.core.animationAnimationWidgetViewer— Moved toutility_viz.core.interactiveInteractive widgets
1.12.0
- Focal and secondary indifference-curve levels, with numeric or ordinal labels Introduction
Canvas.add_utility— Focal utility level, secondary curve style and ordinal labels CanvasTheme— Colour, width and opacity of secondary indifference curves Themes and configuration
1.11.0
- Complete theme system: one visual language across canvases, multi-panel figures, demand diagrams, decompositions and Edgeworth boxes Introduction
Canvas— Backgrounds, labels, lines and markers all take their defaults from the theme CanvasFigure— Panel backgrounds, labels, lines and markers fully follow the theme Figures and demand diagramsEdgeworthBox— Box frame, contract curve, core, endowment, price line and Walrasian equilibrium fully follow the theme Figures and demand diagramsTheme— Complete theme system: background colour, label scale and defaults for every economic layer Themes and configurationthemes— Newpaper,monochrome,presentationanddarkthemes Themes and configurationConfig— Configuration files accept every built-in theme and keep the same visual meaning across diagram types Themes and configurationecon-viz plot—--themeaccepts every built-in CLI theme Command-line interface
1.10.1
- Ships
py.typed; CI runs Ruff and Mypy Introduction
1.10.0
econ-viz— Python 3.10 reads TOML configuration files withtomliInstallationFigure— Falls back to the activeConfigwhen no theme or font is given Figures and demand diagramsEdgeworthBox— Falls back to the activeConfigwhen no theme or font is given Figures and demand diagramsConfig—Config,econ-viz.toml,econ-viz initandplot --configThemes and configurationecon-viz init— Configuration-template command andplot --configCommand-line interface
1.9.0
Canvas— Axes, origin, titles and other text elements accept aLabelCanvasStroke— Newopacityfield CanvasDemandDiagram— SupportsLegend,Marker,Labeland per-layerStrokeFigures and demand diagramsCanvas.add_decomposition— Draws the indifference curves through A, B and C by default, with curve labels andLegendFigures and demand diagramsCanvas.add_decomposition— Effect arrows below the horizontal axis point A→B and B→C; zero effects draw no arrow Figures and demand diagramsHaagsma— Haagsma utility model with a closed-form solution, for inferior- and Giffen-good analysis Core models
1.8.0
Canvas—Axis,Marker,LabelandFillstyle objects CanvasStroke— Every line style is aStroke; the individual style arguments remain as shorthands CanvasCanvas.add_decomposition—Effect,MarkerandLabelstyle objects Figures and demand diagramsEdgeworthBox— Markers, text and axes acceptMarker,LabelandAxisFigures and demand diagrams
1.7.0
- CI tests Python 3.10--3.13, enforces branch coverage, and smoke-tests runnable examples Introduction
- Tagged releases publish only after tests pass Introduction
econ-viz— Package management and builds migrated touvInstallationecon-viz— All example scripts run from a clean checkout InstallationCanvas— Per-figure text and math fonts without changingmatplotlib's global configuration CanvasCanvas— Independent axis-label positions, line styles and arrowhead styles forCanvasandFigureCanvasStroke— OneStrokecontrols line width, style, colour and arrowheads across canvases, figures, demand diagrams and Edgeworth boxes CanvasCobbDouglas— Fixed utility domains, asymmetric CES expansion paths, Cobb-Douglas limit cases, and satiation optima that leave income unspent Core modelsCobbDouglas— Fixed contour levels when utility is near zero or negative Core modelscomparative_statics— Comparative statics no longer step outside the domain near zero prices or income, or near subsistence constraints Analysisecon-viz—econ-viz --versionprints the installed package version Command-line interface
1.6.0
- Generated files under
examples/output/are no longer tracked Introduction Canvas— Default indifference-curve line width reduced from2.0to1.8Canvasthemes.default— Colour-blind-friendly default palette, withCOLORBLIND_CYCLE_RGBandCOLORBLIND_CYCLE_HEXThemes and configurationCanvas.save— TikZ axis regression tests no longer depend on colour indices ExportAnimator— Animation examples moved toexamples/scripts/animation.pyAnimation
1.5.0
- New example scripts for decomposition, demand diagrams, PCC/ICC paths, multi-panel layouts and TikZ export Introduction
- Regression tests for TikZ export and price-effect decomposition Introduction
econ-viz— Notebook install flow on Colab is restart-safe InstallationFigure— Better placement and visibility of axis labels in shared-panel layouts Figures and demand diagramsdecompose_price_effect— Price-effect decomposition:decompose_price_effect(),PriceEffectDecompositionandCanvas.add_decomposition(), drawing bundles A/B/C with substitution and income effects Figures and demand diagramsdecompose_price_effect— Decomposition API importable from the package root Figures and demand diagramsCanvas.save— Pure TikZ export backend;Canvas.save()andFigure.save()accept.texExport
1.4.0
- Tests for
AnimatorandWidgetViewerIntroduction econ-viz[extras]— Optional extrasanimation,interactiveandallInstallationAnimator.save— Frames are composited onto an opaque background before export, for more reliable GIFs ExportAnimator—Animatorproduces GIF parameter sweeps withPillow, withoutffmpegAnimationAnimator— GIF examples for utility-parameter, price, income and budget-only sweeps AnimationWidgetViewer—WidgetViewerprovides slider controls in Jupyter notebooks Interactive widgetsWidgetViewer— Numeric input boxes for notebook widgets Interactive widgets
1.3.2
- Publish workflow skips versions already on PyPI Introduction
EdgeworthBox— Contract curve and price line default to black dashed lines Figures and demand diagrams
1.3.1
- Package-root exports load lazily, with the public API unchanged Introduction
Canvas— Canvas rendering split intocanvas.renderersandcanvas.primitivesCanvasEdgeworthBox— Edgeworth internals split into compute, state and plotter modules Figures and demand diagramsmodels.registry— Model registry (models.registry) used by the command-line tool to build models Core modelsCobbDouglas— Contour-level rules gathered incontours.level_policiesCore modelsCanvas.save—Canvas,FigureandEdgeworthBoxshare one figure exporter (io.exporter) Exportecon-viz— CLI errors raiseCliConfigError, with exit handling centralised incli.mainCommand-line interface
1.3.0
examples/edgeworth_box.pycovering common utility-function combinations Introduction- Dedicated Edgeworth tests Introduction
EdgeworthBox—EdgeworthBoxandEquilibriumFocusConfigfor two-consumer exchange diagrams Figures and demand diagramsEdgeworthBox— Contract-curve, core and Walrasian-equilibrium overlays, with equilibrium-focused indifference curves Figures and demand diagrams
1.2.3
slutsky_matrix—SlutskyMatrixchecks symmetry, negative semidefiniteness and homogeneity, and warns when a condition fails Analysisecon-viz models— CLI supportsQuasiLinear,StoneGearyandTranslogCommand-line interface
1.2.2
- Dedicated PCC/ICC example generator and tests Introduction
PricePath— PCC/ICC paths are smoothed by default, with slightly extended ends and no markers unless requested Figures and demand diagramsPricePath— PCC/ICC paths use their own colours; more padding in the goods space of demand diagrams Figures and demand diagrams
1.2.0
Layout— Multi-panelFigurelayouts and theLayoutenum Figures and demand diagramsPricePath—PricePath,IncomePathandCanvas.add_path()for PCC/ICC plots Figures and demand diagramsDemandDiagram—DemandDiagram, linking goods space and Marshallian demand Figures and demand diagrams
1.1.0
Translog—Translogmodel, with legends and indifference-curve labels Core modelscomparative_statics—comparative_staticshelper AnalysisHomogeneityAnalyzer—HomogeneityAnalyzerandReturnsToScalein the analysis module Analysis
1.0.2
econ-viz— NumPy upper bound removed to avoid conflicts on Colab InstallationCanvas— Math axis labels are no longer double-wrapped Canvas
1.0.1
econ-viz— Pinnumpy<2to avoid ABI mismatches on Colab and local installs Installationecon-viz— Relaxed Python and NumPy bounds;pytestpinned to 8.x Installation
1.0.0
- Initial release Change history