139 Commits

Author SHA1 Message Date
yha
74e985d924 Use Unzip.unzip 2022-01-16 22:57:53 +09:00
Simon Christ
3d88ff8595 Fix setting of legend font via legend_font (#3934)
* find pipeline spot

* better spot

* construct font

* set font and matching

* respect defaults
2022-01-16 22:57:53 +09:00
Simon Christ
dac3b3c847 Legend overhaul including horizontal legends (#2854)
* prototype

* use add_attributes macro with modification

* add Colors back

* fix convertLegendValue

* fix legendtitlefontsize

* fix gr legend position

* fix aliases

* symbolic color is okay

* remove redundant legend_forground_color aliases

* legend -> legend_postion

* fix inspectdr

* add legendtitlefont pointsize and color

* fix symbol cache

* fix rebase woes

* Update precompile_*.jl file [skip ci] (#3885)

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

* fix gr

* more fixes

* add match_table to `@add_attributes`

* fix match_map

* Update src/backends/pgfplotsx.jl

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

* fix font calls

* apply formatter

* readd descriptions

* more missing descriptions

* adjust pyplot to master

* fix pgfplotsx

* Revert "Merge branch 'bbs/horizontal-legends' of https://github.com/JuliaPlots/Plots.jl into bbs/horizontal-legends"

This reverts commit d880d89ef66eb18731bc67d32d627dd690c6d9e5.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: BeastyBlacksmith <BeastyBlacksmith@users.noreply.github.com>
Co-authored-by: t-bltg <tf.bltg@gmail.com>
2022-01-16 22:57:53 +09:00
Nicholas Bauer
70b635dbe1
Cache axis args in a dictionary (#3775)
Co-authored-by: t-bltg <tf.bltg@gmail.com>
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2021-08-31 21:36:58 +02:00
t-bltg
c5db139bbb run format(["src", "test"]) 2021-08-11 08:14:51 +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
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
t-bltg
806dc3aa43 rework fontscales - cleanup 2021-08-01 09:07:29 +02:00
t-bltg
bb493a872a allow relative positioning of annotations 2021-07-08 18:50:46 +02:00
Simon Christ
2b22dae757
Handle matrices of annotations and copy for plot(plots) (#3572)
* add tests for series_annotations in layouts

* add methods for matrices of annotations

* defensive copy on plot(plots)

* seperate in plot(plots) and plot!(plots)
2021-06-17 09:29:39 +02:00
Simon Christ
d1373d8b89
fix fontfamily (#3542)
* fix fontfamily

* Update test_defaults.jl
2021-06-04 15:36:40 +02:00
Simon Christ
ce530ef518
fix vector of shapes (#3517) 2021-05-20 20:42:31 +02:00
David Gustavsson
4731477920 Add annotation font defaults 2021-05-01 20:39:55 +02:00
David Gustavsson
a359f21325 Generalize Shape 2021-04-14 09:34:06 +02:00
yha
e9cd69ea2f Fix Shape vector recipe 2021-03-01 02:17:42 +02:00
Daniel Schwabeneder
5660ea9501 remove dependency on discontinued GeometryTypes 2020-10-27 11:19:50 +01:00
Simon Christ
842b8fa70d
add add_attributes macro (#3069)
* add add_attributes macro

* add underscore

* add non_underscore and plural aliases
2020-10-20 17:53:44 +02:00
Daniel Schwabeneder
51527705de extract gr_draw_<seriestype> functions 2020-09-18 09:43:53 +02:00
Simon Christ
bf85afe9d6
unite titlefonts (#2363)
* change default `plot_title`

* add fontkwargs for colorbar_title, plot_title and window_title

* add utility functions

* adjust default colorbar title fontsize

* remove window-title attributes and edit description

* add match_map entries

* remove plot_fontfamily add match for colorbar_fontfamily

* add process_any_label

* add tests

* add magic arguments

* adjust tests

* fix subplot args
2020-08-13 11:31:17 +02:00
isentropic
a992effa5e
scalefontsize fixed (#2765) 2020-06-09 08:37:39 +02:00
Daniel Schwabeneder
ba4f2665e0 fix range on julia 1.0 2020-04-24 21:21:23 +02:00
Daniel Schwabeneder
4c43f0ea2f be explicit about RecipesPipeline imports 2020-04-10 19:06:53 +02:00
Daniel Schwabeneder
f73b281996 extract the recipe pipeline into separate submodule 2020-04-10 16:09:49 +02:00
Daniel Schwabeneder
efdfec13ed
Merge pull request #2524 from daschw/surface-type-recipe
Apply type recipes also for plots with surfaces
2020-04-01 19:45:10 +02:00
Daniel Schwabeneder
e53f27c224 add axes function for surfaces 2020-04-01 12:54:40 +02:00
wfrgra
9029e37671 Turn TimeType annotation locations to float fix errors 2020-03-31 20:05:21 +11:00
O01eg
2ede388c15
Treat types without length as single element
Fixes #2350
Workaround for types like Dates.Date which can be used for coordinates
but doesn't have Base.length defined.
2020-01-20 13:49:10 +03:00
Michael Kraus
044daf08d4 generalized array fixes replacing length() and size() with eachindex() and axes(), etc. 2019-12-05 10:09:07 +01:00
Daniel Schwabeneder
1ed9bcae5c small coords bug-fix 2019-08-28 18:43:01 +02:00
Chris Rackauckas
82dd5bf3eb != nothing -> !== nothing 2019-08-17 14:45:54 -04:00
Chris Rackauckas
f12f6db310 use === nothing
Should decrease compile times
2019-08-17 14:17:27 -04:00
Daniel Schwabeneder
841b05631d replace StaticArrays with GeometryTypes 2019-04-07 16:20:15 +02:00
Samuel S. Watson
888ed9f0ae Support keyword arguments for font attributes 2019-01-16 13:04:31 -05:00
Samuel S. Watson
e6bb17dc86 document @shorthands functions 2019-01-08 17:55:52 -05:00
Michael Krabbe Borregaard
7acb5a4bdb allow annotations to take a tuple and pass it to text 2019-01-02 17:39:28 +01:00
Diego Javier Zea
af119a0248
It solves Shape bugs
unneeded get and missing undef
2018-10-30 15:15:03 +01:00
Daniel Schwabeneder
113e616d25 remove FixedSizeArrays 2018-10-23 17:53:25 +02:00
Michael Krabbe Borregaard
2844e706a9 warn -> @warn 2018-08-10 18:14:14 +01:00
Michael Krabbe Borregaard
5205ac38ad Implement new iterator protocol 2018-08-09 16:53:27 +01:00
femtocleaner[bot]
83686866cc Fix deprecations 2018-08-08 12:42:18 +00:00
Daniel Schwabeneder
a7f2484d45 fix some deprecation warnings 2018-07-04 20:56:13 +02:00
femtocleaner[bot]
d68829820b Fix deprecations 2018-06-30 23:15:27 +00:00
Daniel Schwabeneder
6135f6271c julia 0.7 fixes 2018-07-01 21:40:48 +02:00
Andrew Palugniok
d79c66e5b6 Add position aliases. 2018-01-14 11:46:41 +00:00
Andrew Palugniok
10a8520805 Add subplot labeling via annotations. 2018-01-14 11:46:41 +00:00
Will Kearney
bd42d9e7cc Use the :fontsize labels so the scalefontsizes command works
Fixes #1294
2017-12-07 20:56:54 -05:00
femtocleaner[bot]
ef29b4a5b0 Fix deprecations 2017-10-17 09:59:09 +00:00