Skip to content

Commit 4f73dfb

Browse files
committed
WIP
1 parent 18b2fda commit 4f73dfb

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

doc/users/explain/architecture.rst

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Matplotlib architecture
55
=======================
66

7+
**What is the goal of this file?**
8+
**Who is this for?**
9+
710
.. _article: https://www.aosabook.org/en/matplotlib.html
811
.. _blog: https://medium.datadriveninvestor.com/data-visualization-with-python-matplotlib-architecture-6b05af533569
912
.. _she06: Maxim Shemanarev. Anti-Grain Geometry: A high quality rendering engine for C++, 2002-2006.
@@ -93,4 +96,26 @@ For example, in the mockup class below where we create SomeArtist which subclass
9396

9497
There are two types of Artists: *primitive* and *composite* artists.
9598

96-
**Primitive artists** represent the kinds of objects you see in a plot: Line2D, Rectangle, Circle, and Text. Composite artists are collections of Artists such as the Axis, Tick, Axes, and Figure. Each composite artist may contain other composite artists as well as primitive artists. For example, the Figure contains one or more composite Axes and the background of the Figure is a primitive Rectangle.
99+
**Primitive artists** represent the kinds of objects you see in a plot: Line2D, Rectangle, Circle, and Text. Composite artists are collections of Artists such as the Axis, Tick, Axes, and Figure. Each composite artist may contain other composite artists as well as primitive artists. For example, the Figure contains one or more composite Axes and the background of the Figure is a primitive Rectangle.
100+
---
101+
102+
Melissa Weber Mendonça
103+
@melissawm
104+
ago 25 14:50
105+
Also general question: are there any recorded (written, video, talks, MEPs other than https://matplotlib.org/stable/devel/MEP/MEP27.html) discussions that describe the future of pyplot?
106+
Thomas A Caswell
107+
@tacaswell
108+
ago 25 15:00
109+
https://paper.dropbox.com/doc/Matplotlib-4.0--Bn6NlHktvleckp57ZJu~vODCAg-WTYwd0NQaSHTjtLUZwkNx has some ideas that eventually turned into the CZI grants
110+
Thomas A Caswell
111+
@tacaswell
112+
ago 25 15:01
113+
https://github.com/matplotlib/mpl-gui is working code that re-implements the "good parts" of pyplot
114+
Thomas A Caswell
115+
@tacaswell
116+
ago 25 15:02
117+
and pyplot, as is, is worst case going to stay frozen in amber exactly as it is. There is way too much code out in the wild (both in production and in tutorials / SO answers / mailinglist+discourse discussions) to even contemplate major changes.
118+
Thomas A Caswell
119+
@tacaswell
120+
ago 25 15:04
121+
There a fair amount of value to having, effectively, an application that looks like pyplot's API. I think it will be an interesting exercise to after the NASA grant and the changes to the lower levels to see if we can conceive of a better "pyplot"-a-like

0 commit comments

Comments
 (0)