Simon Christ
b34f8b87c1
check loaded_modules instead of Main for warnings about StatsPlots recipes ( #4123 )
...
* check loaded_modules instead of Main
* format
2022-03-01 09:23:10 +01:00
Simon Christ
95fd48ed9b
Bbs/legendfontx ( #4119 )
...
* revert legendfont being determant
* format
* fix precompiles
2022-02-26 17:26:14 +01:00
Simon Christ
51358717ee
add slicing of tuples of matrices for plotattributes ( #4109 )
...
* add slicing of tuples of matrices
* remove dot
* format files
2022-02-18 21:12:44 +01:00
Simon Christ
0813b18d69
Fix regression in legend font size setting ( #4100 )
...
* take legend font attributes from existing font
* "format" file
* format remaining files
* better in the error box
2022-02-11 15:26:01 +01:00
t-bltg
bf5d1aa060
Fix plotattributes in _add_plot_title! ( #4090 )
...
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2022-02-07 21:21:22 +01:00
t-bltg
2896c5a25a
Rework warn_on_unsupported ( #4081 )
2022-01-28 15:32:15 +01:00
Tianyi Pu
34e581ff3f
Fix default docstring ( #4057 )
2022-01-22 15:58:30 +01:00
Simon Christ
cab76f67e2
fix scale warnings for layouts ( #3992 )
...
* fix scale warnings for layouts
* don't run ci twice on PR
* use broadcasting for scalar case
2021-12-09 10:32:06 +01:00
github-actions[bot]
3963957e70
Format .jl files [skip ci] ( #3960 )
...
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-11-28 10:27:13 +01:00
Simon Christ
e471ce8d28
rework layout macro to use Base types ( #3943 )
...
* @layout -> Base types except for `grid` call
* add layout conversion of namedtuples, vectors and matrices
* add missing method
* rip it out
* fix slicing
* adjust compat
* add Measure conversion
2021-11-25 11:40:25 +01:00
github-actions[bot]
b23c620d77
Format .jl files [skip ci] ( #3941 )
...
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-11-15 09:56:31 +01:00
Simon Christ
e9ae75dfa4
Fix setting of legend font via legend_font ( #3934 )
...
* find pipeline spot
* better spot
* construct font
* set font and matching
* respect defaults
2021-11-11 09:48:29 +01:00
Nicholas Bauer
72428000cc
Moved clims into plot/series attributes ( #3897 )
...
* Moved limits into plot/series attributes
* Moved const to args
2021-10-26 09:09:23 +02:00
Simon Christ
2e67e84361
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>
2021-10-22 15:09:14 +02:00
Nicholas Bauer
d74ee63710
Fix for regression with colorbar limits ( #3874 )
...
* Fix for regression
* Remove call
* Refactored to dispatching
* Fixes
* Unrolling loop
* Change to IdDict in case objects mutated
2021-10-12 20:18:12 +02:00
github-actions[bot]
5a48002d31
Format .jl files [skip ci] ( #3829 )
...
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-09-20 16:10:29 +02:00
BerndR
4f8a265c6a
Fix generic aliases ( #3824 )
2021-09-17 21:43:26 +02:00
t-bltg
85739932f0
Negate condition on :warn_on_unsupported ( #3816 )
2021-09-17 14:55:43 +02:00
t-bltg
0a9d30f7ac
Fix invalid axes aliases ( #3803 )
...
* Fix invalid axes aliases
* Add test
* Enhance testing
2021-09-14 18:00:23 +02:00
github-actions[bot]
34758c82a3
Format .jl files [skip ci] ( #3795 )
...
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-09-06 11:52:32 +02: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
Pearl Li
ded808477d
Add hatched fill for GR and PyPlot ( #3107 )
2021-08-26 16:55:56 +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
c5db139bbb
run format(["src", "test"])
2021-08-11 08:14:51 +02:00
t-bltg
f331bfa010
allow passing tuple to series_annotations
2021-08-03 10:34:53 +02:00
t-bltg
806dc3aa43
rework fontscales - cleanup
2021-08-01 09:07:29 +02:00
Simon Christ
798de8b17c
add the plot_title ( #2690 )
...
* add the plot_title
* Update bbs/plot_title (#3604 )
* add the plot_title
* update plot_title for multiple subplots, fix GR warning
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
* Update plot_title (#3608 )
* add the plot_title
* update plot_title for multiple subplots, fix GR warning
* update plot_title
* consistency with _subplot_defaults
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
* custom implementation for pgfplotsx backend
* remove `@show`
* remove superfluous plot_titleindex
Co-authored-by: t-bltg <13423344+t-bltg@users.noreply.github.com>
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-07-14 15:45:53 +02:00
Fred Callaway
019a742c84
Respect :widen when passing :lims ( #3552 )
...
* Respect :widen when passing :lims
Previously, the limits were not widened when passing a tuple or
:round to lims (ignoring the widen argument). Fixes #3339
* Add default widen=:auto, which matches default before 43e9a342
* If widen is a Bool, it always determines whether widening occurs.
* If widen is :auto (the defualt), widening occurs for appropriate
seriestypes, unless lims were set manually
* Update test/test_axes.jl
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
* fix docs for lims and widen interaction
* Update .zenodo.json
* Update test/test_axes.jl
xlims != ylims
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2021-06-07 20:46:49 +02:00
Simon Christ
cc290818d7
fix setting marker = :none without seriestype ( #3550 )
2021-06-07 15:55:43 +02:00
David Gustavsson
4731477920
Add annotation font defaults
2021-05-01 20:39:55 +02:00
David MacMahon
ddf6aa9760
Make Plots framework aware of new :stepmid option
2021-03-24 23:24:31 -07:00
Zhanibek
c0824bdc62
Colorbar enhancements ( #3346 )
...
* CompatHelper: bump compat for "Showoff" to "1.0"
* fix series-segments for empty series
* fix wireframe on pyplot
* colorbar redesign
* minimal working version
* reduce code duplication for colorbar ticks
* fix aspect_ratio in GR with legend=:outertopright
* fix GR test failure
* new release [skip ci]
* colorbar scale supported
* Added weights example to ? histogram
Helps to clarify the use of weights (which differs from StatsBase functions)
* Update precompile_*.jl file
* minor version bump [skip ci]
* working prototype
* fixed formatting, added colorbar docs
* colorbar redesign
* minimal working version
* reduce code duplication for colorbar ticks
* fix GR test failure
* colorbar scale supported
* working prototype
* fixed formatting, added colorbar docs
Co-authored-by: Daniel Schwabeneder <daschw@disroot.org>
2021-03-25 11:22:07 +09:00
David Gustavsson
2cee039dbc
Add polar legend position
2021-02-25 15:08:33 +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
9cf9edffe0
remove transpose_z
2020-10-12 01:10:56 +02:00
Moelf
083fe89905
alternative approach
2020-10-05 00:54:48 -04:00
Moelf
bdcc8cdb8d
Alternative approach
2020-10-03 15:33:19 -04:00
Moelf
994b543add
add slice_arg for AbstractRange
2020-10-02 15:08:59 -04: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
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
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
Lakshya Khatri
e3512b0f0d
Add label for label=0 kwarg ( #2837 )
...
* Add label for `label=0` kwarg
* Fix ambiguous comparision of label with 0
* Add methods for handling plot labels
* Remove type annotations for series indexes
* Replace label conversion code with shorter version
* Handel symbol args for labels in more consistent manner
* Broadcast label_to_string to handle Array of labels
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2020-07-02 16:32:37 +02:00
Rashika Karki
d6af1da35a
Fix #2771 : Add aliases ( #2791 )
...
* Fix #2771 : Add aliases
* Added function to add aliases from vector
2020-06-17 14:37:01 +02:00
Simon Christ
8c6295658b
fix showaxis fix ( #2737 )
...
* also replace axis syms
* process showaxis
* fix axis keyword
2020-05-27 15:23:02 +02:00
Simon Christ
42e2266530
Fix showaxis ( #2733 )
...
* also replace axis syms
* include test_axes [skip ci]
* Create test_axes.jl
* process showaxis
2020-05-26 20:40:44 +02:00
isentropic
7bbb2070a7
pyplot colorbar fixes ( #2722 )
...
* pyplot colorbar fixes
* pyplot colorbar fixes
* pyplot: sligtly reworked colorbars
* pyplot 3d color bar fixes
* pyplot 3d color bar fixes
2020-05-25 15:00:56 +02:00
Simon Christ
1b946a18d2
passing of extra keywords to pgfplotsx ( #2200 )
...
* transfer commit
* extra_kwargs gets populated
* make extra_kwargs a series kw.
* turn extra_kwargs into Dict of Dicts
* pass to pgfplotsx-backend
* add test
* change to dict
* it even works
* cleanup
* undo pgfplots changes
* all of them
* fix tests
* add pgfplotsx tests and special handling of :add
Co-authored-by: Simon Christ <Simon.Christ@mpikg.mpg.de>
2020-04-29 11:43:57 +02:00
Daniel Schwabeneder
265439fb2b
update colorschemes integration
2020-04-24 21:20:07 +02:00
Daniel Schwabeneder
66d2e4746a
implement ColorSchemes integration in PlotUtils
2020-04-24 21:20:07 +02:00
Daniel Schwabeneder
d1fb11ce97
add option to avoid warning on unsupported arguments
2020-04-24 20:10:17 +02:00