• Stars
    star
    121
  • Rank 285,240 (Top 6 %)
  • Language
    Julia
  • License
    Other
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Themes for the Julia plotting package Plots.jl

PlotThemes

Build Status

Primary author: Patrick Kofod Mogensen (@pkofod)

PlotThemes is a package to spice up the plots made with Plots.jl. To install:

Pkg.add("PlotThemes")

Using PlotThemes

Currently the following themes are available:

  • :default
  • :dark
  • :ggplot2
  • :juno
  • :lime
  • :orange
  • :sand
  • :solarized
  • :solarized_light
  • :wong
  • :wong2
  • :gruvbox_dark
  • :gruvbox_light
  • :bright
  • :vibrant
  • :mute
  • :dao
  • :dracula

When using Plots, a theme can be set using the theme function:

using Plots
theme(thm::Symbol; kwargs...)

theme accepts any Plots attribute as keyword argument and sets its value as default for subsequent plots.

Themes can be previewed using Plots.showtheme(thm::Symbol):

:default

theme_default

:dark

theme_dark

:ggplot2

theme_ggplot2

:juno

theme_juno

:lime

theme_lime

:orange

theme_orange

:sand

theme_sand

:solarized

theme_solarized

:solarized_light

theme_solarized_light

:wong

theme_wong

:wong2

theme_wong2

:gruvbox_dark

theme_gruvbox_dark

:gruvbox_light

theme_gruvbox_light

:bright

theme_bright

:vibrant

theme_vibrant

:mute

theme_mute

:dao

theme_dao

:dracula

theme_dracula

Contributing

A theme specifies default values for different Plots attributes. At the moment these are typically colors, palettes and colorgradients, but any Plots attribute can be controlled by a theme in general. PRs for new themes very welcome! Adding a new theme (e.g. mytheme) is as easy as adding a new file (mytheme.jl) that contains at least the following line:

_themes[:mytheme] = PlotTheme(; kwargs...)

The keyword arguments can be any collection of Plots attributes plus a colorgradient keyword argument.

More Repositories

1

Plots.jl

Powerful convenience for Julia visualizations and data analysis
Julia
1,803
star
2

UnicodePlots.jl

Unicode-based scientific plotting for working in the terminal
Julia
1,395
star
3

Makie.jl

High level plotting on the GPU.
Julia
1,378
star
4

StatsPlots.jl

Statistical plotting recipes for Plots.jl
Julia
428
star
5

PlotlyJS.jl

Julia library for plotting with plotly.js
Julia
411
star
6

AlgebraOfGraphics.jl

Combine ingredients for a plot
Julia
211
star
7

GraphRecipes.jl

Graph-related recipes to be used with Plots.jl
Julia
164
star
8

RecipesBase.jl

Base package for defining transformation recipes on user types for Plots.jl
Julia
111
star
9

PlotDocs.jl

Documentation for Plots.jl
92
star
10

GeoMakie.jl

Geographical plotting utilities for Makie.jl
Julia
87
star
11

AbstractPlotting.jl

An abstract interface for plotting libraries, part of the Makie ecosystem.
Julia
85
star
12

GraphMakie.jl

Plotting graphs with Makie
Julia
80
star
13

ExamplePlots.jl

Collection of examples and recipes for Plots.jl
Jupyter Notebook
79
star
14

MakieTeX.jl

TeX integration in Makie
Julia
76
star
15

WGLMakie.jl

WebGL backend for Makie
Julia
59
star
16

StatsMakie.jl

Statistical visualizations based on high performance plotting package Makie
Julia
48
star
17

MakieGallery.jl

Documentation and Example Gallery for Makie
Julia
47
star
18

GLMakie.jl

OpenGL backend for Makie
Julia
46
star
19

GGPlots.jl

Grammar of Graphics interface to Plots.jl
Julia
39
star
20

CairoMakie.jl

Cairo backend for Makie
Julia
37
star
21

PlotUtils.jl

Generic helper algorithms for building plotting components
Julia
35
star
22

VisualRegressionTests.jl

Automated integrated regression tests for graphics libraries
Julia
27
star
23

RecipesPipeline.jl

Utilities for processing recipes
Julia
17
star
24

MakieThemes.jl

Themes for Makie
Julia
16
star
25

PlotlyKaleido.jl

Julia
16
star
26

VennEuler.jl

Venn/Euler Diagrams for Julia
Julia
11
star
27

MakieRecipes.jl

Extending Makie to support plotting Plots.jl recipes
Julia
10
star
28

MakieCore.jl

The core recipe functions for Makie.jl - basically Makie light!
Julia
6
star
29

GRMakie.jl

GR backend for Makie
Julia
4
star
30

juliaplots.github.io

Website for Plots.jl
HTML
2
star
31

MakieDocumentation

Holds documentation builds generated from source files stored in AbstractPlotting.jl
HTML
2
star
32

MakieReferenceImages

Reference images for Makie.jl (generated by MakieGallery.jl)
HTML
2
star
33

PlotReferenceImages.jl

Julia
1
star