prefig 0.3.9.dev20250730054824__py3-none-any.whl → 0.4.0.dev20250801054919__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
prefig/core/axes.py CHANGED
@@ -748,7 +748,7 @@ def label_text(x, commas):
748
748
  suffix = text[period:]
749
749
  text = text[:period]
750
750
  while len(text) > 3:
751
- suffix = ',' + text[-3:] + suffix
751
+ suffix = '{,}' + text[-3:] + suffix
752
752
  text = text[:-3]
753
753
  text = text + suffix
754
754
  return r'\text{' + prefix + text + r'}'
@@ -26,6 +26,8 @@ def slope_field(element, diagram, parent, outline_status):
26
26
  return
27
27
  bbox = diagram.bbox()
28
28
 
29
+ if element.get('id', None) is None:
30
+ diagram.add_id(element, None)
29
31
  # We're going to turn this element into a group and add lines to it
30
32
  element.tag = "group"
31
33
  if element.get('outline', 'no') == 'yes':
@@ -127,6 +129,9 @@ def vector_field(element, diagram, parent, outline_status):
127
129
  return
128
130
  bbox = diagram.bbox()
129
131
 
132
+ if element.get('id', None) is None:
133
+ diagram.add_id(element, None)
134
+
130
135
  # We're going to turn this element into a group and add lines to it
131
136
  element.tag = "group"
132
137
  if element.get('outline', 'no') == 'yes':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefig
3
- Version: 0.3.9.dev20250730054824
3
+ Version: 0.4.0.dev20250801054919
4
4
  Summary: An authoring system for mathematical diagrams
5
5
  Home-page: https://prefigure.org
6
6
  License: GPL-3.0-or-later
@@ -5,7 +5,7 @@ prefig/core/__init__.py,sha256=roT0a8-iBrp8WXTbPN5RzMWFiCXfpKrEXa2xE-F-yBo,728
5
5
  prefig/core/annotations.py,sha256=9wStnLhEHFmkIocufHLiBcUZ3NSce7ZESor5kjj-vzg,3998
6
6
  prefig/core/area.py,sha256=U-AxXvaZJWgVccpLlh-aaRfM_QtTa09NR2TqAd8Yk0o,3710
7
7
  prefig/core/arrow.py,sha256=h8lFm1rMdpiZRyQu5kvAiptBmMYr5aKCZuB5JypAGDM,11283
8
- prefig/core/axes.py,sha256=-EIWIIfU8VFN2WLlPUQZFIO13PLXWvfja3wUlSbthQk,31677
8
+ prefig/core/axes.py,sha256=xMO_X6PbKZ5ptEdaQJk0iZ1iV5mGyZ3Apq0eBrGUoCk,31679
9
9
  prefig/core/calculus.py,sha256=Q4kSGTTTeQYEEVKgmYWpFP0JLHmCsBchB5OF9qSclQk,498
10
10
  prefig/core/circle.py,sha256=_v1eMVhl4nnD4WXCz-Boa_SAdQg_kKeU3NhP42z2Yzw,15668
11
11
  prefig/core/clip.py,sha256=X3TcFYPuZwjZ9SFBWMc1MYY__6XTJqLafPeOLFNOdIE,806
@@ -35,7 +35,7 @@ prefig/core/rectangle.py,sha256=b_ki7yqA4-mke1_0khvKqSKBRToB667mZc-xZhhPIBA,3473
35
35
  prefig/core/repeat.py,sha256=DAO5w4BxUMGU-8ymsv8EwsifI0zPa_cgIRUcWWS8BWU,2755
36
36
  prefig/core/riemann_sum.py,sha256=T2dQgJIY17QuuPDOB8XWIP8HYmg5jOQ-LroFH7tiGAU,3012
37
37
  prefig/core/shape.py,sha256=Qb_-upbSHwEoYrrAnbCoFFFuVIb3JgJLdyP9ckD5evc,8675
38
- prefig/core/slope_field.py,sha256=e396uznWNaCUmOIIf70lsxvy9g_SGRFZlpxsIpy4ajE,8640
38
+ prefig/core/slope_field.py,sha256=KThnVBuO_3QK7k6xxCWnsbiv-X9P8oS1SgFPLoynA-E,8797
39
39
  prefig/core/statistics.py,sha256=5qN_-ABN0EFVG12ZP95uSPk82INbWRqI3w2fUdR3wsw,3458
40
40
  prefig/core/tags.py,sha256=7w6E3960o_ZgZl4xYJLVJ1eLttt0vVlB4IgMZGTMyyE,4134
41
41
  prefig/core/tangent_line.py,sha256=I9wf9VAqhnmmsh8Lzynwi7_Z1DonHXqHf8ym7eO40tk,3400
@@ -61,8 +61,8 @@ prefig/resources/schema/pf_schema.rng,sha256=TmZQLgyK2wntXDXOiQXYcVQedlPuPh8IWrt
61
61
  prefig/resources/template/pf_publication.xml,sha256=eEv8HACv610Apw5DSVNy0reLfELYqHlNy9Oq0GH7C_c,200
62
62
  prefig/scripts/__init__.py,sha256=qJcPi1WRh9UAwu4zIFJbmxWalAMilMYqgi6LxRkF7bI,25
63
63
  prefig/scripts/install_mj.py,sha256=5A6-oc1xbIXka5mkFE70vlp9-Rh_QoxOxGMrQi9Hkio,1219
64
- prefig-0.3.9.dev20250730054824.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
65
- prefig-0.3.9.dev20250730054824.dist-info/METADATA,sha256=FZsmOvFwrgQuC2gNmrd283Sq0qRzWP4sWSoQurCHUqg,8728
66
- prefig-0.3.9.dev20250730054824.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
- prefig-0.3.9.dev20250730054824.dist-info/entry_points.txt,sha256=OP4ZQT71q2b0Zfbie-oM2Z1HlxpkuX7qaxJnzwsBOVQ,42
68
- prefig-0.3.9.dev20250730054824.dist-info/RECORD,,
64
+ prefig-0.4.0.dev20250801054919.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
65
+ prefig-0.4.0.dev20250801054919.dist-info/METADATA,sha256=erYt9LDSSjSVJf44Jr9Qx8mt-jGDLl34NGQ6NlHLOiM,8728
66
+ prefig-0.4.0.dev20250801054919.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
+ prefig-0.4.0.dev20250801054919.dist-info/entry_points.txt,sha256=OP4ZQT71q2b0Zfbie-oM2Z1HlxpkuX7qaxJnzwsBOVQ,42
68
+ prefig-0.4.0.dev20250801054919.dist-info/RECORD,,