skillfed

xtgeoviz

Plotting library for xtgeo objects

xtgeoviz v0.3.2 127.4K downloads/30d#11,744 on PyPI4
Copyleft license GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this… (full text in the JSON record) Active released

What it is and what it does

xtgeoviz is a thin plotting layer built on top of xtgeo and matplotlib, designed for visualizing subsurface and geospatial data common in energy and reservoir engineering. It wraps matplotlib to provide convenient functions for rendering xtgeo objects without requiring users to write low-level matplotlib code directly.

The package depends on PyYAML, matplotlib, numpy, scipy, and xtgeo. It is in beta (Development Status 4) and actively maintained. It requires Python 3.11 or later and is available as a pure Python wheel, making installation straightforward across common platforms.

Use it for:

  • Quickly visualize subsurface surfaces loaded from xtgeo without writing matplotlib boilerplate
  • Generate plots of reservoir maps and geological structures in energy workflows
  • Explore and validate geospatial data during subsurface modeling and analysis tasks
  • Integrate plotting into scientific Python pipelines for reservoir engineering work

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides plotting functions for xtgeo objects, enabling visualization of subsurface and geospatial data through matplotlib-backed rendering.

Yes, if you work with xtgeo objects and need straightforward plotting. Low install friction, active maintenance, and no known vulnerabilities support adoption. The copyleft license (LGPLv3) requires that any modifications or derivative works remain open-source; this is a non-issue for internal use but matters if you plan to embed or redistribute modified versions.

Install

xtgeoviz on PyPI

pip

pip install xtgeoviz

uv

uv add xtgeoviz

poetry

poetry add xtgeoviz

Installing xtgeoviz

Before you install

Low install friction with a pure Python wheel. Active maintenance with a recent release 44 days ago. Supports Python 3.11, 3.12, 3.13, and 3.14 across macOS, Windows, and Linux.

License in practice

Licensed under LGPLv3 (copyleft). Derivative works and modifications must be distributed under the same license; proprietary applications using this library must comply with copyleft obligations or obtain an alternative license.

Quickstart

pip install xtgeoviz

import xtgeoviz.plot as xtgplot
import xtgeo

surf = xtgeo.surface_from_file("somemap.gri")
xtgplot.quickplot(surf)

Requires Python 3.11 or later.

Verify before relying

  • Specific plotting capabilities and supported xtgeo object types beyond the quickplot example
  • Performance characteristics with large datasets or complex geometries
  • Interactive vs. static plotting modes and customization depth

Package facts

License GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this… (full text in the JSON record) (copyleft)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 5 — PyYAML, matplotlib, numpy, scipy, xtgeo
Maintenance actively maintained — 44 days since the last release
Last repo commit
First released
Downloads 127,432/month — #11,744 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: xtgeoviz-0.3.2-py3-none-any.whl

Keywords: energy, subsurface, reservoir, scientific, engineering, maps, xtgeo

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Natural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: PhysicsTopic :: Software Development :: LibrariesTopic :: Utilities

Tags

xtgeo plotting visualizationsubsurface map visualizationgeospatial data plottingreservoir engineering visualizationscientific surface plottingenergy data visualizationmatplotlib wrapper for xtgeo
geospatial-visualizationsubsurface-engineering

More Libraries packages