307 Commits

Author SHA1 Message Date
t-bltg
c5db139bbb run format(["src", "test"]) 2021-08-11 08:14:51 +02:00
t-bltg
b7b4c850b6 move mesh3d triangle to utils - gaston: implement :mesh3d 2021-08-03 20:07:56 +02:00
t-bltg
f3aa61293b change fakedata rng in tests 2021-07-23 14:47:16 +02:00
t-bltg
cd06648ec3
Switch to Random.GLOBAL_RNG
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2021-07-23 11:02:22 +02:00
t-bltg
fe7d957be3 use a stable RNG in fakedata 2021-07-22 13:00:07 +02:00
t-bltg
91e91ac821
Reduce number of warnings on invalid log values 2021-07-07 00:45:53 +02:00
t-bltg
124d2d6aa3 issue warning only once - apply to other backends 2021-07-04 15:48:16 +02:00
t-bltg
3536acbcc8 warn on invalid value for log scale based series 2021-07-03 14:44:53 +02:00
Simon Christ
5fafddb995
fix fontrotation being interpreted as fontsize (#3533)
* fix convenience font functions

* correct size argument
2021-06-02 22:12:30 +02:00
yha
23567964e7 undo accidental change 2021-05-03 19:45:48 +03:00
yha
0c7f7ba011 Fix for plotting a vector of (at least two) NaNs 2021-05-03 19:44:11 +03: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
Daniel Schwabeneder
d44b7e89e7 fix series-segments for empty series 2021-03-06 12:03:50 +01:00
yha
c8b882d17a rename local var 2021-03-02 22:56:56 +02:00
yha
6af91c7f71 warning and hint on mismatched attr lengths 2021-03-01 03:23:19 +02:00
yha
42b3c5625f Fix for "segmented" attributes with NaNs 2021-02-25 02:33:11 +02:00
Felix Hagemann
2594b577d7 Adjust heatmap_edges for polar heatmaps 2021-02-14 00:02:49 +01:00
Daniel Schwabeneder
5660ea9501 remove dependency on discontinued GeometryTypes 2020-10-27 11:19:50 +01:00
Daniel Schwabeneder
df07dc9377 actually remove transpose_z 2020-10-12 01:16:59 +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
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
Daniel Schwabeneder
0b91d51a40 fix marker shapes with segments on gr, pyplot and plotly 2020-08-31 18:55:17 +02:00
yha
bd7f0dc8d4 Merge branch 'tick-format' of https://github.com/yha/Plots.jl into tick-format 2020-08-22 21:26:35 +03:00
yha
449d35ebf2 Tick label formatting fixes 2020-08-22 21:26:35 +03: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
yha
0db321aecc Support offset vectors as fillrange and ribbon 2020-07-20 00:12:47 +03:00
yha
d353dca531 Recipe for GeometryBasics.Point 2020-06-18 21:18:34 +03:00
Daniel Schwabeneder
580ac8a9d1 fix infinite objects with log scale 2020-05-29 09:42:44 +02:00
Miles Lucas
995c7d349e
fix type restriction in process_clims 2020-05-27 11:55:49 -10: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
hhaensel
1e9691a7c0
Add support for mathjax (latex) and extra_plot_kwargs in plotly backend (#2719)
* support mathjax header in plotly backend

* support extra_plot_kwargs in plotly backend

* correct local file parameter to `file:///`

* corrections proposed by @BeastyBlacksmith

* include extra_kwargs for subplots

* don't merge subplot extra_kwargs

Co-authored-by: Helmut Haensel <M136270@eu.merckgroup.com>
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2020-05-21 12:32:25 +02:00
Simon Christ
219465d599
fix contours (#2692)
* fix 2d-contour

* fix filled contours (colorbar is off)

* activate fixed examples
2020-05-11 16:52:00 +02:00
isentropic
4a00018f25
pyplot hexbin (#2679)
* pyplot hexbin

* pyplot hexbin changes
2020-05-09 13:07:32 +02:00
Simon Christ
3d693d88e0
Change color handling of error recipes (#2675)
* fix iteration of segments

* fix error vector arg detection

* change color handling of recipes
2020-05-06 18:21:54 +02:00
Daniel Schwabeneder
3273a65889
Merge pull request #2657 from mileslucas/climsfunc
allow passing a function to `clims`
2020-05-05 08:18:07 +02:00
Miles Lucas
0aa606d835
fix typo in get_clims function docstring 2020-05-04 11:05:53 -10:00
Daniel Schwabeneder
2a138dee40 fix get_size and get_thickness_scaling for series 2020-05-03 15:37:12 +02:00
Daniel Schwabeneder
712ef74b81 remove const _gr_plot_size, _gr_point_mult and _gr_thickness_scaling 2020-05-03 15:37:12 +02:00
Miles Lucas
10a5c2ed1d fix bug with Tuple clims and fix typos 2020-05-01 00:10:27 -10:00
Miles Lucas
8cce78c890 fix typos 2020-04-30 23:38:52 -10:00
Miles Lucas
294ade8aad refactor get_clims calls to use operators 2020-04-30 23:32:30 -10:00
Daniel Schwabeneder
a0c7781296 make segments for vectors of markersize and markerstrokewidth 2020-04-30 13:16:33 +02:00
Daniel Schwabeneder
a0ba0e232e remove unused dict 2020-04-26 21:25:49 +02:00
Daniel Schwabeneder
d64ba707e9 fix _as_gradient(::Colorant) 2020-04-25 10:43:09 +02:00
Daniel Schwabeneder
e7f79e9144 fix vector of colors as gradient 2020-04-24 21:32:25 +02:00
Daniel Schwabeneder
265439fb2b update colorschemes integration 2020-04-24 21:20:07 +02:00
Daniel Schwabeneder
450b36bdde small cleanup in utils 2020-04-24 21:20:07 +02:00
Daniel Schwabeneder
f1e7e3a4de integrate colorpalettes in pgfplotsx 2020-04-24 21:20:07 +02:00
Daniel Schwabeneder
ec5fa44f2a fix plotly ColorSchemes integration 2020-04-24 21:20:07 +02:00