330 Commits

Author SHA1 Message Date
Simon Christ
204b2178d0
better line (#4085) 2022-02-18 21:13:16 +01:00
t-bltg
a919fe59d3
Center :image axes ticks (#4088) 2022-02-16 22:05:50 +01:00
Michael Krabbe Borregaard
0ba580bcaa fix the wand binning 2022-01-26 17:28:56 +01:00
Simon Christ
4b94384c7d
support axis flip (#3908) 2021-10-29 12:01:07 +02:00
github-actions[bot]
804fab45ad
Format .jl files [skip ci] (#3896)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-10-25 08:57:08 +02:00
Yuval
3b0950f915
Fix vector attributes to bar plots (#3751) 2021-10-19 21:21:20 +02:00
Lee Phillips
f06225655d
Allow styling of magnification shape in lens!() (#3860)
* Allow styling of magnification shape in lens!()

The guide lines that indicate the region of the plot magnified in the
inset lens plot, called the magnification shape, are hard-coded with
the :lightgray color and are drawn with the default other line
attributes. This is often too light to be seen clearly and could be a
problem for publication. This commit allows the user to set the
linecolor, linewidth, and linestyle in the call to lens!().

* Update src/recipes.jl

Co-authored-by: t-bltg <tf.bltg@gmail.com>

* Update .zenodo.json

Co-authored-by: t-bltg <tf.bltg@gmail.com>
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2021-10-04 17:38:59 +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
t-bltg
c5db139bbb run format(["src", "test"]) 2021-08-11 08:14:51 +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
Simon Christ
ce530ef518
fix vector of shapes (#3517) 2021-05-20 20:42:31 +02:00
matthieugomez
67f4d79c4a simpler formula for yhat 2021-04-08 10:11:09 -07:00
matthieugomez
50adb6cd9c Update recipes.jl 2021-04-07 14:42:12 -07:00
matthieugomez
64f3d589b6 correct scatterpath + add linearfit
correct scatterpath so that color does not change (see https://github.com/JuliaPlots/Plots.jl/issues/1495). Add linearfit.
2021-04-07 14:39:41 -07:00
Daniel Schwabeneder
23cbfe9378
Merge pull request #3382 from david-macmahon/stepmid-branch
Add support for `seriestype=:stepmid`
2021-03-28 21:27:12 +02:00
David MacMahon
50f1106cd7 Add recipe for seriestype=:stepmid 2021-03-24 20:47:14 -07:00
David MacMahon
3bb406e0ea Add :mid support to make_steps 2021-03-24 20:35:08 -07:00
David MacMahon
10fa36cdd9 Use even to tweak length of make_steps output
If `even` in false, `make_steps` returns an odd-length (2n-1) Vector as
it did before.  If even is `true`, `make_steps` now returns an
even-length (2n) Vector whose first (2n-1) elements are the same as
before and whose final element is the same as the final element of the
input Vector.
2021-03-24 20:21:12 -07:00
David MacMahon
0508d05299 Remove conditional from make_steps for loop 2021-03-24 20:16:53 -07:00
David MacMahon
59a1faf590 Add even arg to make_steps
This is in preparation for `:stepmid` support.
2021-03-24 19:56:29 -07:00
Daniel Schwabeneder
a50661dd44 fix bar for unsorted x input 2021-03-23 22:11:16 +01:00
Daniel Schwabeneder
b8c2d62c32
Merge pull request #3329 from gustaphe/annotations
Bar chart series_annotations
2021-03-06 12:38:07 +01:00
yha
e9cd69ea2f Fix Shape vector recipe 2021-03-01 02:17:42 +02:00
David Gustavsson
a75d309d20 Labels for horizontal bars 2021-02-28 09:20:20 +01:00
David Gustavsson
5cc08a17b6 Series annotations for bar plots 2021-02-28 08:57:54 +01:00
Daniel Schwabeneder
fa8d437836 widen axis limits 2021-01-22 18:16:13 +01:00
Daniel Schwabeneder
e95ddc3ef8 fix defaults in spy recipe 2021-01-22 18:05:40 +01:00
Justin Willmert
94ca183a5b Support plotting OffsetArrays for :sticks series type 2020-11-26 12:54:37 -06:00
Ronny Bergmann
abebbdd54a fixes two checks for 3D to work properly. 2020-11-13 09:29:43 +01:00
Ronny Bergmann
d3f2a55b59 adds 3d quiver if z component is present. 2020-11-10 11:24:24 +01:00
Daniel Schwabeneder
dc7bdc6f69 add some @nospecialize 2020-10-31 21:07:31 +01:00
Daniel Schwabeneder
5660ea9501 remove dependency on discontinued GeometryTypes 2020-10-27 11:19:50 +01:00
Daniel Schwabeneder
54fdd4e177 update spy recipe 2020-10-24 00:02:47 +02:00
Simon Christ
015b48eede
fix attributes passing (#3073) 2020-10-16 16:58:35 +02:00
Daniel Schwabeneder
9cf9edffe0 remove transpose_z 2020-10-12 01:10:56 +02:00
Daniel Schwabeneder
bd46b51b94 remove some more type piracies and use === when comparing to nothing 2020-10-04 18:10:52 +02:00
BerndR
f4fe4b8a05
Changed labeling-behaviour of :sticks (#3017)
* Changed labeling-behaviour of :sticks

* Further adaptions to make sticks-label behavior as expected

* Fixed for linecolor-attribute

* Deleted some debugging println()

* Changed primary-ness in sticks+marker

Co-authored-by: bernd_uni <bernd.riederer@student.tugraz.at>
2020-10-01 20:55:12 +02:00
Alberto Lusiani
5a932146cf fix horizontal range of hspan() 2020-09-28 23:37:38 +02:00
Daniel Schwabeneder
e932c76d93
Merge pull request #2962 from Moelf/master
fix error bars in log scale
2020-09-25 09:47:27 +02:00
bernd_uni
408aad6e35 Added support for 3d-plots of seriestype sticks 2020-09-23 15:39:03 +02:00
Moelf
cef5b0293e fix error bars in log scale 2020-09-18 09:27:58 -04:00
Simon Christ
87c44e231b
fix vline & vspan (#2985)
* add tests

* fix vline, vspan with dates

* add limit tests for vline and vspan

* fix 1.3 tests
2020-09-17 17:34:16 +02:00
Simon Christ
49555ecc2f
Letterswap (#2979)
* Fix vline, histogram, barhist, stephist axis letter

* Fix vspan + move vline y values to shorthands

* Fix histograms with @one_arg_shorthands + fix vspan

* Add tests for axis letter

* move swap to _plot

* use RecipesBase approach

* restore formatters

* fix and format pgfx-tests

* update compat

* Update precompile_*.jl file (#2982)

Co-authored-by: BeastyBlacksmith <BeastyBlacksmith@users.noreply.github.com>

Co-authored-by: Benoit Pasquier <briochemc@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: BeastyBlacksmith <BeastyBlacksmith@users.noreply.github.com>
2020-09-16 14:37:26 +02:00
Simon Christ
1b70fb18e4
fix extra series in lens! (#2919)
* fix extra series in lens!

* include tests
2020-08-18 12:42:14 +02:00
Adrian Dawid
e2c387894f
Add :mesh3d series type for Plotly (#2909)
* Add :mesh3d seriestype (in theory)

* Make it work in practice

* Clean up code

* Add support for arbitrary 3d mesh

* Add fallback for other backends

* Add shorthand

* Change i,j,k to series keyword

* Small bugfix

* Update shorthands example

* Add mesh3d example

* Add some documentation to example

* Make color work

* Move mesh3d example and add to skip list

* Update fallback recipie

* Update example

* Update src/args.jl

Co-authored-by: Simon Christ <SimonChrist@gmx.de>

* Update src/backends/plotly.jl

Co-authored-by: Simon Christ <SimonChrist@gmx.de>

* Update src/examples.jl

Co-authored-by: Simon Christ <SimonChrist@gmx.de>

* Cosmetic changes

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2020-08-14 14:26:16 +02:00
Daniel Schwabeneder
45e33f5b6f fix yerror and marker_z 2020-07-07 21:44:47 +02:00
Daniel Schwabeneder
cd20518323 fix errorbar color for scatter 2020-07-03 15:40:46 +02:00
Daniel Schwabeneder
949e245e15 fix recipe for arrays of grays 2020-06-30 16:28:09 +02:00
yha
d353dca531 Recipe for GeometryBasics.Point 2020-06-18 21:18:34 +03:00
Simon Christ
c2df99cc66
remove showgradient and showlibrary (#2769) 2020-06-09 08:38:43 +02:00