Skip to content

Releases: matplotlib/matplotview

Minor Update Release

15 Dec 16:53
011c9ce
Compare
Choose a tag to compare

Adds PEP-8 compliance to matplotlview, and confirms support against newer
matplotlib versions (v3.8.2).

First Non-Beta Release

15 Aug 20:27
Compare
Choose a tag to compare

Release 1.0.0 of matplotview! Includes the following changes:

  • Addition of matplotview.stop_viewing function for terminating views without digging into internal APIs
  • Simplified public facing interface (just 3 functions!).
  • Brand new documentation and example gallery at: https://matplotview.readthedocs.io/en/latest/

Multi-View Support and Major API Changes

07 Mar 06:56
Compare
Choose a tag to compare

This release includes the following changes:

  • Several getter and setter methods were removed for view axes, and replaced with the new view_specifications property.
  • Support added for constructing views that view multiple other axes at once, as demonstrated by the code snippet below:
import matplotlib.pyplot as plt
from matplotview import view

fig, (ax1, ax2, ax3) = plt.subplots(1, 3)

ax1.add_patch(plt.Circle((1, 1), 1.5, ec="black", fc=(0, 0, 1, 0.5)))
ax3.add_patch(plt.Circle((3, 1), 1.5, ec="black", fc=(1, 0, 0, 0.5)))
for ax in (ax1, ax3):
        ax.set_aspect(1)
        ax.relim()
        ax.autoscale_view()

# Axes 2 is a view of 1 and 3
view(view(ax2, ax1), ax3)

ax2.set_aspect(1)
ax2.set_xlim(-0.5, 4.5)
ax2.set_ylim(-0.5, 2.5)

fig.show()

View viewing two axes

Bug Fix Release

06 Feb 23:36
Compare
Choose a tag to compare
Bug Fix Release Pre-release
Pre-release

Line scaling falls back gracefully when a projection doesn't transform the unit box correctly, fixing rendering for geographic projections.

Map Projection and Pickle Support

06 Feb 07:30
Compare
Choose a tag to compare
Pre-release

This update contains the following changes:

  • Artist rendering has been modified to handle scenarios where the axes returns a invalid data clip box, allowing views to be used with map based axes and projections.
    Using a view with map projections
  • Plots including views can now be pickled and unpickled without error.
  • Views now have getter and setter methods for the additional attributes they add to the axes.

General Improvements and Bug Fixes

25 Jan 23:48
Compare
Choose a tag to compare
Pre-release

This release fixes a few bugs, improves artist clipping management, and adds support for alternate projections (3D, polar, and etc.)

  • 3D Example:
    3D View Example

  • Polar Example:
    Polar View Example

Recursive Rendering and Filtering Support

19 Jan 04:14
Compare
Choose a tag to compare

Release Changes:

  • Rendering improved to support recusive drawing allowing for fractals, etc.
  • Support added for filtering items drawn in a view.

Fractal Example:
Fractal Example

Major Bug Fix

17 Jan 23:52
Compare
Choose a tag to compare
Major Bug Fix Pre-release
Pre-release

Artists of a view will now be rendered in the correct order, rendering based on zorder rather then always being rendered under the artists of the axes being viewed.

Initial Release

17 Jan 17:43
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

Initial Release

Introduces a simple API for creating views.

  • Ability to create views of other axes using the view method.
  • Additional convenience method inset_zoom_axes added, for creating inset axes that are views of the parent axes