5043 Commits

Author SHA1 Message Date
Nicholas Bauer
1b1a2860af missed discrete_indices 2021-08-30 20:29:39 -04:00
Nicholas Bauer
a230207c09 pre-populate 2021-08-30 20:03:53 -04:00
t-bltg
04d8beb7b3 Revert "Apply suggestions from code review"
This reverts commit abccc9f5bacbe7664e87f14101fecc47e39ba9b1.
2021-08-30 23:46:04 +02:00
t-bltg
67414b9640 Revert "Expanded for PyPlot backend"
This reverts commit 0a1dda39c0145d0ce3f6c8db74b15597703a417b.
2021-08-30 23:46:02 +02:00
t-bltg
e89e379979 Revert "fix"
This reverts commit 35f5310bf912020701206e5d41831d1297c212bc.
2021-08-30 23:45:59 +02:00
Nicholas Bauer
35f5310bf9 fix 2021-08-30 12:40:51 -04:00
Nicholas Bauer
0a1dda39c0 Expanded for PyPlot backend 2021-08-30 12:40:32 -04:00
Nicholas Bauer
abccc9f5ba
Apply suggestions from code review
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2021-08-30 12:20:05 -04:00
Nicholas Bauer
d195534ed4 Generalize method name 2021-08-29 17:54:02 -04:00
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>
v1.21.1
2021-08-26 17:46:28 +02:00
Simon Christ
5afeba656b check if .zenodo.json is valid 2021-08-26 17:17:26 +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
Simon Christ
854d5ba5c9
1.21.0 [skip ci] v1.21.0 2021-08-26 16:21:47 +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
t-bltg
1426c95fd4
fix formatting action 2021-08-25 22:42:23 +02:00
Andy Nowacki
52ec432cfa
Plotly: Enable specified contour values for ranges; warn otherwise (#3757) 2021-08-25 13:40:54 +02:00
t-bltg
0742d475bc
CI: julia-uploadcodecov is deprecated (#3761) 2021-08-22 12:00:12 +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
f85f668f18
Merge pull request #3759 from t-bltg/fmt
CI: run JuliaFormatter on schedule
2021-08-19 22:17:47 +02:00
Simon Christ
c4208c7560
fix broken file 2021-08-19 21:07:04 +02:00
t-bltg
35fd604e07 run JuliaFormatter on schedule 2021-08-19 17:51:53 +02:00
t-bltg
214663aa4b
Merge pull request #3750 from t-bltg/col
UnicodePlots: fix setting linecolor
2021-08-15 12:40:19 +02:00
t-bltg
d56a03975f UnicodePlots: fix setting linecolor 2021-08-15 00:39:04 +02:00
t-bltg
ede106073f
1.20.1 [skip ci] v1.20.1 2021-08-12 21:58:21 +02:00
t-bltg
6e8228826d
Merge pull request #3747 from JuliaPlots/Test_SnoopCompile_AutoPR_refs/heads/master
[AUTO] Update precompiles [skip ci]
2021-08-12 21:57:16 +02:00
t-bltg
8147c59b2f Update precompile_*.jl file [skip ci] 2021-08-12 17:16:25 +00:00
t-bltg
54a6518d59
Merge pull request #3749 from t-bltg/format
Code style - format
2021-08-12 18:48:42 +02: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
ffca3c1305 update JuliaFormatter config file 2021-08-08 20:38:23 +02:00
t-bltg
1c84704a81 move format to separate action 2021-08-08 20:24:18 +02:00
t-bltg
9e824367bb add configuration file 2021-08-08 20:23:22 +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
f9833214ce
Merge pull request #3740 from JuliaPlots/Test_SnoopCompile_AutoPR_refs/heads/master
[AUTO] Update precompiles [skip ci]
2021-08-03 22:02:32 +02:00
t-bltg
a67a006501 Update precompile_*.jl file [skip ci] 2021-08-03 19:20:52 +00:00