Skip to content

Commit

Permalink
add alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion committed Oct 15, 2023
1 parent f818a14 commit 5eec67c
Show file tree
Hide file tree
Showing 12 changed files with 1,965 additions and 44 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CompatHelper
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Check if Julia is already available in the PATH
id: julia_in_path
run: which julia
continue-on-error: true
- name: Install Julia, but only if it is not already available in the PATH
uses: julia-actions/setup-julia@v1
with:
version: '1'
arch: ${{ runner.arch }}
if: steps.julia_in_path.outcome != 'success'
- name: "Add the General registry via Git"
run: |
import Pkg
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add("General")
shell: julia --color=yes {0}
- name: "Install CompatHelper"
run: |
import Pkg
name = "CompatHelper"
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
version = "3"
Pkg.add(; name, uuid, version)
shell: julia --color=yes {0}
- name: "Run CompatHelper"
run: |
import CompatHelper
CompatHelper.main()
shell: julia --color=yes {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [v1.5.0] - 2023-10-12 09:24:07

### Added

- `add_alpha`

### Changed

- fixed indexed list handling (#10)
- minimum Julia version now 1.6

### Removed

### Deprecated

## [v1.4.0] - 2022-12-21

### Added
Expand Down
14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ColorSchemeTools"
uuid = "d3e213a1-5e82-5c18-bb32-2a58a99f8c46"
authors = ["cormullion <[email protected]>"]
version = "1.4.0"
version = "1.5.0"

[deps]
Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5"
Expand All @@ -14,14 +14,14 @@ Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
QuartzImageIO = "dca85d43-d64c-5e67-8c65-017450d5d020"

[compat]
Clustering = "0.13, 0.14"
ColorSchemes = "^3"
Clustering = "0.15"
ColorSchemes = "3"
Colors = "0.9, 0.10, 0.11, 0.12, 0.13"
FileIO = "^1"
ImageMagick = "0.7, 1, 1.1, 1.2"
Images = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25"
FileIO = "1"
ImageMagick = "1.3"
Images = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26"
Interpolations = "0.12, 0.13, 0.14"
QuartzImageIO = "^0.7"
QuartzImageIO = "0.7"
julia = "1.6"

[extras]
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@

## ColorSchemeTools

This package provides tools for working with colorschemes and colormaps. It's a companion to the ColorSchemes.jl package.
This package provides tools for working with colorschemes and colormaps. It's a
companion to the
[ColorSchemes.jl](https://github.com/JuliaGraphics/ColorSchemes.jl) package.

For example, you can extract colorschemes from images, and replace an image colorscheme with another. There are also functions for creating color schemes from lists, dictionaries, and functions.
For example, you can extract colorschemes from images, and replace an image
colorscheme with another. There are also functions for creating new color schemes
from lists, dictionaries, and functions.

This package relies on:

Expand Down
Loading

0 comments on commit 5eec67c

Please sign in to comment.