Skip to content

Commit

Permalink
Removed dependency on PerceptualColourMaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Odd committed Mar 9, 2024
1 parent 9aa52d0 commit 50f3a0e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 30 deletions.
26 changes: 0 additions & 26 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,3 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]


# [compat]
# ArchGDAL = "0.9.2"


# [unsure]
# ArchGDAL = "c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3"
# PerceptualColourMaps = "54e51dfa-9dd7-5231-aa84-a4037b83483a"
# Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0"
# GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
# CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
# DisplayAs = "0b91fe84-8a4c-11e9-3e1d-67c38462b6d6"


# [cant find]
# BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
# DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
# Debugger = "31a5f54b-26ea-5ae9-a837-f05ce5417438"
# IndirectArrays = "9b13fd28-a010-5f03-acff-a1bbcff69959"
# Juno = "e5e0dc1b-0480-54bc-9374-aad01c23163d"
# Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
# ProfileView = "c46f51b8-102a-5cf2-8d2c-8597cb0e0da7"
# Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
# StaticGraphs = "4c8beaf5-199b-59a0-a7f2-21d17de635b6"
# StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1 change: 0 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0"
LazyArtifacts = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
PerceptualColourMaps = "54e51dfa-9dd7-5231-aa84-a4037b83483a"
SurfaceWaterIntegratedModeling = "71e2a337-b4d4-4738-9f2b-3c37e1d3d462"
1 change: 0 additions & 1 deletion examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
PerceptualColourMaps = "54e51dfa-9dd7-5231-aa84-a4037b83483a"
SurfaceWaterIntegratedModeling = "71e2a337-b4d4-4738-9f2b-3c37e1d3d462"
4 changes: 2 additions & 2 deletions examples/urban.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ## Loading the necessary packages
using SurfaceWaterIntegratedModeling
import GLMakie, Images # for visualization and loading of textures
import ColorSchemes, PerceptualColourMaps
import ColorSchemes
using Pkg.Artifacts
import ArchGDAL # for loading of topographical grids from files in geotiff format

Expand Down Expand Up @@ -221,7 +221,7 @@ runoff, = watercourses(tstruct_sinks, filled_traps,
## Plot runoff as a texture on the terrain, using a predefined colormap:
sf_flow, fig_flow, sc_flow =
plotgrid(grid_dtm, texture=runoff,
colormap=ColorSchemes.ColorScheme(PerceptualColourMaps.cmap("L12")))
colormap=:Blues)
fig_flow
set_camerapos(fig_flow, sc_flow, view1...)
#
Expand Down

0 comments on commit 50f3a0e

Please sign in to comment.