3538 Commits

Author SHA1 Message Date
Simon Christ
84d2040ca4 Fix #3984 2022-01-16 22:57:53 +09:00
github-actions[bot]
41f242ceee Format .jl files [skip ci] (#3981)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
Jks Liu
836435d01c Fix #3967 (#3978)
Pluto do not use require.js, so Plotly is not renamed to Plotly2
2022-01-16 22:57:53 +09:00
github-actions[bot]
2b144caf7d Update precompile_*.jl file [skip ci] (#3976)
Co-authored-by: BeastyBlacksmith <BeastyBlacksmith@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
t-bltg
67a9b0f4f7 Versioned precompile script - drop 1.5 - support 1.6 and 1.7 (#3972)
* versioned precompile script

* add explicit minor version in CI

* revert to supporting 1.5 - 1.7

* update precompile_includer

* drop support for 1.5, bump to 1.6

* Update ci.yml

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2022-01-16 22:57:53 +09:00
t-bltg
e5f6ee2e06 Fix missing examples backend 2022-01-16 22:57:53 +09:00
t-bltg
0092e25c73 Update doc examples 2022-01-16 22:57:53 +09:00
Jks Liu
8b255b0197 Upgrade plotly.js to v2.6.3 (#3958)
* Upgrade plotly.js to version 2.6.3

* plotly polar support, api changed in plotly.js v2.x.x

https://plotly.com/javascript/polar-chart/
https://community.plotly.com/t/announcing-plotly-js-2-0/53675
2022-01-16 22:57:53 +09:00
chwons
2cd90ac33e annotations over marksers in pgfplotsx backend (#3957) 2022-01-16 22:57:53 +09:00
t-bltg
63743f1c17 PGFPlotsX: fix log scale power with custom ticks (#3961) 2022-01-16 22:57:53 +09:00
github-actions[bot]
d8cd174493 Format .jl files [skip ci] (#3960)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
Simon Christ
d843bdddb9 fix plotly 2022-01-16 22:57:53 +09:00
Simon Christ
a2e449ca10 fix transposing in plotlyjs (#3953)
* fix transposing

* fix plotly_series
2022-01-16 22:57:53 +09:00
Simon Christ
b967a34abb add documentation for legend_column 2022-01-16 22:57:53 +09:00
Simon Christ
2d9d400215 add missing get_clims in GR (#3950) 2022-01-16 22:57:53 +09:00
Simon Christ
5fbde91734 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
2022-01-16 22:57:53 +09:00
Simon Christ
4ef392b0b5 add missing docstrings 2022-01-16 22:57:53 +09:00
github-actions[bot]
f3ed40bfdd Format .jl files [skip ci] (#3941)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
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
f4e34c6e7c split looops (#3931) 2022-01-16 22:57:53 +09:00
github-actions[bot]
426774efcd Format .jl files [skip ci] (#3927)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
Josef Heinen
ec3a7ffaf2 gr: fix text problems 2022-01-16 22:57:53 +09:00
t-bltg
5251da1570 Fix LaTeXStrings support for UnicodePlots and InspectDR (#3879)
* fix LaTeXStrings support for UnicodePlots and InspectDR

* rename & fix
2022-01-16 22:57:53 +09:00
Lukas Hauertmann
3567780fe3 Add :log10-colorbar_scale support in GR (#3915)
* Add `:log10`-`colorbar_scale` support in GR

* Change `clims` behaviour (gr heatmap)
2022-01-16 22:57:53 +09:00
Simon Christ
88d7223884 update gaston backend 2022-01-16 22:57:53 +09:00
github-actions[bot]
6d840ed383 Format .jl files [skip ci] (#3914)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
Josef Heinen
d40059a46f Update gr.jl
Use new text functionality. GR v0.62+ can handle multiline strings and inline math expressions.
2022-01-16 22:57:53 +09:00
Simon Christ
dba452ae32 support axis flip (#3908) 2022-01-16 22:57:53 +09:00
Simon Christ
0e25a6d3bf detect aliases in recipes (#3904)
* detect aliases in recipes

* remove doubled tests
2022-01-16 22:57:53 +09:00
Simon Christ
996da030c8 fix pyplot backend 2022-01-16 22:57:53 +09:00
Nicholas Bauer
9dcf9bd262 Moved clims into plot/series attributes (#3897)
* Moved limits into plot/series attributes

* Moved const to args
2022-01-16 22:57:53 +09:00
github-actions[bot]
e9396db904 Update precompile_*.jl file [skip ci] (#3889)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
github-actions[bot]
3906a15b10 Format .jl files [skip ci] (#3896)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
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
Yuval
dc98495514 Fix vector attributes to bar plots (#3751) 2022-01-16 22:57:53 +09:00
github-actions[bot]
e3a81e0712 Format .jl files [skip ci] (#3882)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
Lukas Hauertmann
d47d7864e8 Use GR.polygonmesh3d for :mesh3d seriestype (#3868)
* Use `GR.polygonmesh3d` for `:mesh3d` seriestype

* Remove unecessary code

* Update GR version dependency

* Add drawing of edges in `:mesh3d` with GR
2022-01-16 22:57:53 +09:00
Nicholas Bauer
343f809387 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
2022-01-16 22:57:53 +09:00
github-actions[bot]
0edd869956 Update precompile_*.jl file [skip ci] (#3849)
Co-authored-by: isentropic <isentropic@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
github-actions[bot]
dcd06ec11c Format .jl files [skip ci] (#3872)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2022-01-16 22:57:53 +09:00
Jack Dunn
d34c9b903f Fix PyCall deprecations (#3864)
Fixes #3818
2022-01-16 22:57:53 +09:00
zhanibek
219f5ca12a constant gr legend size 2021-10-11 17:59:47 +09:00
Nicholas Bauer
aca2aa49b8
Generalize GR tick label rotations (#3782)
* gr tick rotations

* consistency

* start of angle offset work

* Working!

* simplify logic

* gr tick rotations

* consistency

* start of angle offset work

* Working!

* simplify logic

* all offsets

* Rebase

* tick factor reversion

* Fix for 3d plots

* simplification

* offset update

* bump offset

* Remove conflict error

* Resolve merge conflict error.

* Resolve merge conflict error

* 3d done

* remove excess

* adjust offset

* restore offset

* fix sign check

Co-authored-by: t-bltg <tf.bltg@gmail.com>
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2021-10-05 13:44:12 +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
github-actions[bot]
4f0f84f400
Format .jl files [skip ci] (#3861)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-10-04 13:23:01 +02:00
Jan Schneider
09a66224ce
Update Plots.jl's colorbar_titel maps to PGFPlotsX's color bar style={ylabel} (#3848)
* Update PGFPlotsX colorbar_titel map to ylabel

For most of the backends supported by Polts.jl the `colorbar_title` attribute maps to the attribute in the backend that ultimately is displayed on the vertical axis of the colorbar, which is vertically aligned. Not for PGFPlotsX as in this backend the `title` attribute is displayed on top of the colorbar while the `ylabel` is shown on the vertical bar.

* Update .zenodo.json

added my name to the contributors list
2021-09-27 16:16:16 +02:00
Nicholas Bauer
405bc0820b
Speed up get_clims (#3839)
* For Shape type, cut off process

* Remove fillcolor for now

* Address type inference failure instead

* Store value instead of re-evaluating

* Works, but not ideal

* Unnecessary to update here, I think

* return type

* Remove unnecessary default arg

* Typo

* Change to clims

* missed one

* reconfigured to free up clims property

* fix

* Remove debug println, add hook for updating clims after series added

* restore docstring

* typo

* Change to _update_subplot_colorbars
2021-09-27 14:01:18 +02:00
github-actions[bot]
8e17a182f9
Format .jl files [skip ci] (#3846)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-09-26 15:42:31 +02:00
t-bltg
032c5d1638
UnicodePlots: support markers (#3845) 2021-09-25 12:18:41 +02:00
BerndR
8d95333d1e
Legend positioning for 3d plots in plotly (#3840)
* Remove hardoced numbers, shift for 3d plots

* Revert changes

* Fixed some missed reverts
2021-09-23 19:14:55 +02:00