3457 Commits

Author SHA1 Message Date
t-bltg
35f8e152a3
Add memo 2021-08-29 22:07:04 +02:00
t-bltg
f00f1c04d6
missing memoizing 2021-08-29 21:54:52 +02:00
Nicholas Bauer
5250d63a00 More memoizing 2021-08-29 15:26:43 -04:00
Nicholas Bauer
b899e71730
Make const 2021-08-28 15:25:17 -04:00
t-bltg
c47567b9bd
Insist on axisattrcache being private, added types 2021-08-28 14:26:00 +02:00
Nicholas Bauer
aa55ce6ffd fix 2021-08-27 12:47:04 -04:00
Nicholas Bauer
eb9f8fd180 moved to utils to load first 2021-08-27 02:07:19 -04:00
Nicholas Bauer
d35c922529 Fixes for string keyword, three-arg concat 2021-08-27 01:59:56 -04:00
Nicholas Bauer
274fdd11a4 Generalized axis symbol lookup elsewhere 2021-08-27 01:35:16 -04:00
Nicholas Bauer
0809c21490
Cache axis args in a dictionary
These axis arguments can be generated lots of times for large plots. We can save time by caching them in a dictionary. For my large map test plot:

```
Before: 1.075 s (3393429 allocations: 183.49 MiB)
After:  959.024 ms (3393294 allocations: 181.64 MiB) - 10% improvement in speed, small decrease in allocations

TTFP Before: 7.543192 seconds (26.79 M allocations: 1.544 GiB, 3.89% gc time, 0.06% compilation time)
TTFP After: 6.886222 seconds (23.58 M allocations: 1.355 GiB, 3.63% gc time, 0.07% compilation time) - 8% improvement in speed, 12% fewer allocations, 12% lower allocation amount
```

The cost of this is, I think, just 3-4 kb. Is there a function to read out the size in memory of a dictionary? `sizeof` for the dictionary itself just returns 64.
2021-08-27 00:30:30 -04:00
t-bltg
22651e8728
UnicodePlots: disable some unsupported examples 2021-08-26 19:54:58 +02:00
Nicholas Bauer
5acf967a9e
v1.21.1 | No exception thrown in apply_recipe fallback (#3765)
* No exception thrown in `apply_recipe` fallback

Throwing an exception here can vastly slow down plotting, as it happens frequently. Returning an error value instead, which the calling function can check, can speed up plotting 2x. An accompanying change is necessary in RecipesPipeline.jl, assuming this value is suitable.

* Bumped compat for RecipesPipeline, tentative

* Bump patch version

* Fix wrong versioning

Co-authored-by: t-bltg <tf.bltg@gmail.com>
2021-08-26 17:46:28 +02:00
LukasKrumwiede
7b8bd5b253
Implementation of filling the space between and under curves for gaston (#3755) 2021-08-26 16:58:05 +02:00
Pearl Li
ded808477d
Add hatched fill for GR and PyPlot (#3107) 2021-08-26 16:55:56 +02:00
t-bltg
07a619e5ae
Replace deprecated Base.download with Downloads.download (#3766)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-08-26 00:12:33 +02:00
Andy Nowacki
52ec432cfa
Plotly: Enable specified contour values for ranges; warn otherwise (#3757) 2021-08-25 13:40:54 +02:00
Josef Heinen
10802baf6e Added support for 3d surface meshes 2021-08-22 09:17:42 +02:00
t-bltg
c67da7d7b8
UnicodePlots: allow passing arbitrary colors (RGBA, symbols, integers, ...) (#3758) 2021-08-19 22:19:38 +02:00
t-bltg
d56a03975f UnicodePlots: fix setting linecolor 2021-08-15 00:39:04 +02:00
t-bltg
8147c59b2f Update precompile_*.jl file [skip ci] 2021-08-12 17:16:25 +00:00
t-bltg
c5db139bbb run format(["src", "test"]) 2021-08-11 08:14:51 +02:00
t-bltg
a3eca8244e disable formatting on exports 2021-08-11 07:54:35 +02:00
t-bltg
9164ee09cb fix wrong method signature 2021-08-08 23:18:30 +02:00
t-bltg
10e9325635 avoid ambiguous += 2021-08-08 20:23:22 +02:00
t-bltg
13141feb4f
Fix #3462 2021-08-04 13:11:15 +02:00
t-bltg
40b5df38f4
Merge pull request #3743 from t-bltg/ann
Allow passing collection of tuples to series_annotations
2021-08-03 20:58:12 +02:00
t-bltg
b7b4c850b6 move mesh3d triangle to utils - gaston: implement :mesh3d 2021-08-03 20:07:56 +02:00
t-bltg
ba4c4d7bfb
Update backends.jl 2021-08-03 17:58:50 +02:00
t-bltg
62b6075407
Gaston: support :arrow for :quiver 2021-08-03 17:56:54 +02:00
t-bltg
c0ff6e3dee
Gaston: initial :quiver support 2021-08-03 17:55:52 +02:00
t-bltg
67f441f152
Gaston: swap :image axes 2021-08-03 17:54:49 +02:00
t-bltg
ed7b6f7f64
examples, missing number 2021-08-03 17:26:23 +02:00
t-bltg
1ccd4ae699
Gaston: remove :histogram2d 2021-08-03 17:19:40 +02:00
t-bltg
bd70951afa
Gaston: flip y for :image series 2021-08-03 17:19:09 +02:00
t-bltg
39cb596868 allow passing vectors/tuples of vectors to series_annotations 2021-08-03 13:39:20 +02:00
t-bltg
5c13f00716 cleanup 2021-08-03 10:37:05 +02:00
t-bltg
f331bfa010 allow passing tuple to series_annotations 2021-08-03 10:34:53 +02:00
t-bltg
a72b4a3481
specify relative coordinates 2021-08-02 23:30:54 +02:00
t-bltg
ff2ae4fe4f
typo 2021-08-02 21:54:35 +02:00
t-bltg
2df85eb0fd
Update examples.jl 2021-08-02 20:14:40 +02:00
t-bltg
508c47895c
Merge pull request #3634 from t-bltg/annotate
Allow relative positioning of annotations
2021-08-02 17:28:30 +02:00
t-bltg
d6878a8ea0 remove the need for Plots.pct in annotations 2021-08-02 13:06:02 +02:00
Daniel Schwabeneder
b79a2d32fe
fix series_annotations for bar (#3742)
* fix series_annotations for bar

* fix my typos in bar recipe

* fix fillrange of annotation series for groupedbar

* fix series_annotations for bar

* fix my typos in bar recipe

* fix fillrange of annotation series for groupedbar

* fix series_annotations for bar

* fix my typos in bar recipe

* fix fillrange of annotation series for groupedbar

* fix series_annotations for bar

* fix fillrange of annotation series for groupedbar
2021-08-02 12:58:16 +02:00
t-bltg
7b1941b129
Typo 2021-08-01 18:04:10 +02:00
t-bltg
c6d9332cf1
Gaston: fix polar ticks 2021-08-01 18:03:44 +02:00
t-bltg
670fba56a7
Update examples.jl 2021-08-01 17:55:35 +02:00
t-bltg
9985157eb8
Update backends.jl 2021-08-01 17:54:54 +02:00
t-bltg
9308dd74a8
Update gaston.jl 2021-08-01 17:54:15 +02:00
t-bltg
52be7387f2
Gaston: support polar 2021-08-01 17:53:08 +02:00
t-bltg
a94c49ab95
Gaston: remove unsupported :line, :vline markers 2021-08-01 16:19:16 +02:00