5013 Commits

Author SHA1 Message Date
Andy Nowacki
33a7e12ae8 Plotly: Remove argument checking for levels
Checking of the `levels` keyword argument will be moved out
of individual backends' code, so we can assume that `levels`
if present in `plotattributes` is either an `AbstractVector` or
`Integer`.
2021-08-24 16:12:13 +01:00
Andy Nowacki
fbabf50f5a Remove mention of tuples from description of levels
The `levels` keyword argument does not actually support
values of type `NTuple{2,Integer}` despite the existing documentation,
so remove the mention of this from `_arg_desc` and update the
description of what `levels` means.
2021-08-24 16:10:20 +01:00
Andy Nowacki
f1c0c7e4ec Add tests for contour levels and the start of Plotly tests
- Test that the `levels` keyword argument is correctly stored.
- For the Plotly (and PlotlyJS) backend, test that `levels`
  is correctly converted to backend-specific settings.
2021-08-20 15:49:22 +01:00
Andy Nowacki
79ce34a712 Plotly: Enable specified contour values for ranges; warn otherwise
Plotly does not support arbitrary contour values, but can plot
specific contours if they are an equally-spaced range.  This
commit implements the plotting of contours if the `levels`
keyword argument is passed an `AbstractRange`, or if a set
of arbitrary values are passed.  In the latter case, however,
since this is not supported by Plotly, a range based on the
first and last values of the collection passed in is created
and used to define the contours.  A warning is then issued to
the user.

Otherwise, any other types are assumed to be number-like and
adjusted as previously.  Note that Plotly does not guarantee
the exact number of contours will be used.

This partly addresses #3356.

See https://github.com/plotly/plotly.js/issues/4503 (Plotly issue
tracking the ability to set arbitrary contours).
2021-08-20 15:48:18 +01: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
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
c171cd0cf5
Merge pull request #3745 from t-bltg/mesh3d
Move mesh3d triangle to utils - gaston: implement :mesh3d
2021-08-03 20:57:45 +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
Simon Christ
c4681682a1
1.20.0 [skip ci] v1.20.0 2021-08-03 09:58:28 +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
07d32197a1 add regression test 2021-08-02 16:55:51 +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
t-bltg
b7c6a65921
Gaston: remove :vline, :hline markers 2021-08-01 16:18:19 +02:00
t-bltg
d8a40f5400
Gaston: remove debug show(...) 2021-08-01 16:12:07 +02:00