Comments (5)
You can change the border color like this, if the current overlaps with your terminal background color:
julia> using UnicodePlots
julia> UnicodePlots.BORDER_COLOR[] = :white # default is :dark_gray
julia> lineplot(1:2)
[...]
This is terminal dependent, and I don't think we can find a suitable default value for all terminals and colorschemes out there.
from unicodeplots.jl.
I'd like to precise: there is no method to determine the colours to my current knowledge, which might be limited and of course I'm open to contributions regarding that matter. Furthermore, I use Linux, so I'm incompetent in anything related to other OSs.
from unicodeplots.jl.
Hi,
thanks, if I may, I have 2 further questions:
- Could this not be set automatically?
- Is there a way to do this through the
Plots.jl
API?
Thanks!
from unicodeplots.jl.
- Automatically ... to what ? We unfortunately cannot detect the type of terminal / colorscheme you are working with. But I may be missing something here ?
- Apart from doing the following, there is no other way:
julia> using Plots
julia> unicodeplots()
julia> Plots.UnicodePlots.BORDER_COLOR[] = :white
from unicodeplots.jl.
- Well I thought there was a way to detect the fg/bg color of the terminal - if there isn't, then yeah, there is no universal good choice...
from unicodeplots.jl.
Related Issues (20)
- Non-trivial dependencies HOT 4
- `DateTime` ticks not disappearing when setting `xticks=false` option HOT 2
- ERROR: InexactError: trunc(Int64, -Inf) when plotting values with big differences in magnitude HOT 4
- switch to `Documenter` based docs ?
- support polar heatmap
- Filled contour plots HOT 5
- invert matrix when using heatmap HOT 3
- Heatmap colorbar with non-finite values HOT 3
- Import latency issue HOT 4
- Backend example of PlotDocs broken HOT 3
- Request: Leverage package extensions HOT 7
- redefinition warnings and error on exit when using with CairoMakie HOT 14
- [FR] try to remove the `StaticArrays` dependency
- histogram not defined HOT 6
- [FR] swap `lineplot` function order
- [FR] log transformed bins in histogram HOT 1
- Despite Project.toml update, StatsBase 0.34 is not compatible with UnicodePlots 3.5.2 HOT 3
- Error when using Uniful together with ylim
- Can I use UnicodePlots.jl by launching Julia script via command line (not in REPL mode) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unicodeplots.jl.