Skip to content

Commit

Permalink
Merge pull request #87 from daschw/colorschemes
Browse files Browse the repository at this point in the history
RFC Switch to Colorschemes
  • Loading branch information
daschw authored Apr 24, 2020
2 parents c6e1a0c + f879878 commit b2a61e6
Show file tree
Hide file tree
Showing 16 changed files with 778 additions and 14,543 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.jl.*.cov
*.jl.mem
Manifest.toml
dev/
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ os:
- linux
- osx
julia:
- 0.7
- 1.0
- 1.3
- 1
- nightly
matrix:
allow_failures:
- julia: nightly
notifications:
email: true
# uncomment the following lines to override the default test script
Expand Down
10 changes: 6 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name = "PlotUtils"
uuid = "995b91a9-d308-5afd-9ec6-746e21dbc043"
version = "0.6.5"
version = "1.0.0"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"

[compat]
Colors = "0"
Reexport = "0"
julia = "0.7, 1"
ColorSchemes = "3.7"
Colors = "0.12"
Reexport = "0.2"
julia = "1"

[extras]
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Expand Down
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
environment:
matrix:
- julia_version: 0.7
- julia_version: 1.0
- julia_version: 1
- julia_version: 1.3
- julia_version: nightly

platform:
Expand Down
9 changes: 5 additions & 4 deletions src/PlotUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __precompile__()

module PlotUtils

using ColorSchemes
using Dates
using Reexport
using Printf
Expand All @@ -12,7 +13,10 @@ import Random: MersenneTwister

export
ColorGradient,
ColorPalette,
cgrad,
palette,
color_list,
cvec,
rgb_string,
rgba_string,
Expand All @@ -21,14 +25,11 @@ export
isdark,
plot_color,
adapted_grid,
clibrary,
clibraries,
cgradients,
default_cgrad

include("color_utils.jl")
include("color_gradients.jl")
include("colors.jl")
include("colorschemes.jl")
include("adapted_grid.jl")

export
Expand Down
235 changes: 0 additions & 235 deletions src/color_gradients.jl

This file was deleted.

Loading

2 comments on commit b2a61e6

@daschw
Copy link
Member Author

@daschw daschw commented on b2a61e6 Apr 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/13599

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.0 -m "<description of version>" b2a61e6ea655f666f9002b9f8ed23a255035aa5c
git push origin v1.0.0

Please sign in to comment.