1947 Commits

Author SHA1 Message Date
Daniel Schwabeneder
44bd1812e0 don't run optimize_ticks multiple times 2020-09-18 09:43:53 +02:00
Daniel Schwabeneder
1e536dda4b reorganize axes drawing 2020-09-18 09:43:21 +02:00
Daniel Schwabeneder
6a03da5837 extract legend functions and viewport updating from gr_display 2020-09-18 09:38:29 +02:00
Daniel Schwabeneder
9df962fcce clean up gr_set_tickfont 2020-09-18 09:38:28 +02:00
Jerry Ling
b46e460d12
fine tune distance between axis and ticks text (#2988) 2020-09-18 09:26:04 +02:00
Simon Christ
3ba712dde0
pgfx fix segments (#2970) 2020-09-15 18:13:46 +02:00
Simon Christ
9c4890d794
Backend refactor (#2965)
* isolate :path

* factor out legend addition

* ported series coordinates code

* fix 3d-like seriestypes

* common add_series

* fix bar

* fix contour

* fix scatter

* Update precompile_*.jl file (#2966)

Co-authored-by: BeastyBlacksmith <BeastyBlacksmith@users.noreply.github.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-13 19:29:49 +02:00
Daniel Schwabeneder
6a3d5202e6 fix gr_text for non-string input 2020-09-01 23:47:32 +02:00
Daniel Schwabeneder
0b91d51a40 fix marker shapes with segments on gr, pyplot and plotly 2020-08-31 18:55:17 +02:00
Yuval
d1cfdd7d3d
Merge branch 'master' into tick-format 2020-08-26 17:47:27 +03:00
ma-laforge
76429cde7a
HDF5-Plots Clean up: Easier to understand/maintain. (#2924)
* Clean up code: Easier to understand/maintain.

Also:
Reduce line count for code.
Add namespace (module) to use shorter function/variable names.
Improve auto-generation of readers/writers for arbitrary structs.
Remove a few manually-written readers/writers for simple structs.
Write Plots.jl version -> VERSION_INFO to help user identify reader of outdated file formats.
Add support for:
 - Arrow
 - ColorScheme, ColorPalette
 - ContinuousColorGradient, CategoricalColorGradient
 - datetimeformatter

* Update precompile_*.jl file

Co-authored-by: ma-laforge <ma-laforge@users.noreply.github.com>
2020-08-24 18:22:54 +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
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
345bceb526
conserve extra_kwargs (#2885)
* conserve extra_kwargs

* Update test_pgfplotsx.jl

* remove wraptuples

* Update test_pgfplotsx.jl

* Update test_pgfplotsx.jl

* Update test_pgfplotsx.jl

* Update test_pgfplotsx.jl

* Revert "remove wraptuples"

This reverts commit 6d66d69692ad1ffb72a99ed4777658d14ad749f1.

* Auto stash before revert of "remove wraptuples"
2020-08-01 00:34:04 +02:00
Maaz Bin Tahir Saeed
b9cf8c3928
Fix guides not being considered in calculating plot area (#2878) 2020-07-26 21:43:22 +02:00
isentropic
c2bb17cece
pyplot fonts fixed (#2858) 2020-07-23 11:57:24 +02:00
Maaz Bin Tahir Saeed
7e122bdfea
Fix #2848: Legend :top should start below axis spine (#2870)
* Account for adding dy to ymax in legend pos

* Subtract x legend offset from :right symbols
2020-07-23 09:48:14 +02:00
Diaga
3fec5ae1cf Include legend width changes for shapes and increase width 2020-07-21 18:27:06 +05:00
Diaga
b154a1a3e4 Make white space and marker pos dynamic 2020-07-21 14:19:20 +05:00
Simon Christ
f9f6e0ff57
remove show comments 2020-07-16 21:25:46 +02:00
Daniel Schwabeneder
6f36d0998f fix wrong image limits in pyplot (fix #2864) 2020-07-16 20:17:02 +02:00
Simon Christ
849c2911a7 fix ribbon, fillbetween distinction 2020-07-09 22:07:04 +02:00
Simon Christ
1ab681f509
fix ribbons (#2853)
* fix ribbons

* fix tests
2020-07-09 12:23:27 +02:00
Daniel Schwabeneder
0d776fd09d
Merge pull request #2850 from daschw/gr-error
fix yerror and marker_z
2020-07-08 08:58:12 +02:00
Daniel Schwabeneder
45e33f5b6f fix yerror and marker_z 2020-07-07 21:44:47 +02:00
Daniel Schwabeneder
1c4910f90e
Merge pull request #2807 from MLH-Fellowship/diaga-issue-2202-2330
Fix #2330, #2202: Position legends closer to the borders
2020-07-07 20:55:00 +02:00
Simon Christ
2f4eb7b558
change z buffer for surface plots (#2843) 2020-07-04 19:37:42 +02:00
Diaga
02ca049bc6 Remove static offsets for ypos 2020-07-03 18:52:54 +05:00
Diaga
ff7235e9b8 Remove constant offsets for xpos 2020-07-03 17:56:13 +05:00
Diaga
376fae0d79 Make legend offset calculation dynamic 2020-07-02 18:12:23 +05:00
Daniel Schwabeneder
657f6224d1
Merge pull request #2799 from isentropic/fixedlayouts
layouts fixed
2020-06-29 18:22:53 +02:00
Josef Heinen
8e3f76cb6f gr: fix problem with ugly exponents (#2810) 2020-06-24 16:38:57 +02:00
isentropic
07146e84e5
line caps, legendbox (#2802) 2020-06-24 14:34:02 +09:00
Rashika Karki
47590b2538
Fix position of legend (#2806)
* Fix position of legend

* Fix var name
2020-06-23 10:59:27 +09:00
Diaga
d036794576 Fix #2330, #2202: Position legends closer to the borders 2020-06-22 17:45:23 +05:00
Rashika
d1b2c7f751 Add outer legend for Plotly 2020-06-22 09:39:24 +05:45
Zhanibek
0942b14905 layouts fixed 2020-06-18 14:17:10 +09:00
Daniel Schwabeneder
9499cef25d add legend line in GR for 3d paths 2020-06-17 11:54:53 +02:00
isentropic
8b2d3e926a
better exopnents (#2786) 2020-06-17 11:18:03 +02:00
Fons van der Plas
fb40ed1f59
Plotly fixed version (#2779)
* Fixed version for plotly.js dependency

* Fixed version for plotly.js dependency - .gitignore update
2020-06-17 11:17:37 +02:00
isentropic
e88654cca5
pyplot colorbar positioning (#2772) 2020-06-17 11:17:18 +02:00
Maaz Bin Tahir Saeed
a9b9b3c357
Fix #2377, #2785, #2369: Legend positioning fix for multiple plots (#2784)
* Fix 2377: Legend positioning fix for multiple vertical plots

* Fix #2785: Legend positioning for multiple horizontal plots
2020-06-17 11:16:37 +02:00
Simon Christ
3eb2b783dc
keep LaTeXStrings to be LaTeXStrings (#2781) 2020-06-16 09:39:07 +02:00
Josef Heinen
c29694ae70 gr: fix polar heatmap problem 2020-06-15 12:53:57 +02:00
Daniel Schwabeneder
87d40cd34d improve nonuniform heatmap performance on GR 2020-06-05 18:23:48 +02:00
Daniel Schwabeneder
54671c15d7
Merge pull request #2751 from isentropic/plotly-legends
plotly legend fixes
2020-06-04 11:42:20 +02:00
Zhanibek
e2a5e40019 plotly legend fixes 2020-06-03 16:08:53 +09:00
Cornelius-G
02e6d729c1
add attribute fillalpha to contourf seriestype for pyplot backend (#2732) 2020-05-26 18:37:58 +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