Comments (10)
Thanks for posting.
Well, the BrailleCanvas
(which is the default canvas) is a hit or miss thing. The utilized Unicode characters are not widely supported and if they are they are treated very differently from application to application and font to font (even in Linux).
I'm not a windows user, so the best suggestion I can offer is to use a canvas that works for you. Both the AsciiCanvas
and the DotCanvas
use only ASCII characters, so they should more or less always work. There is also the BlockCanvas
, which is Unicode-based, but might be more visually pleasing.
One thing I could do is introduce a way to overwrite the default.
from unicodeplots.jl.
One thing you could try to make the BrailleCanvas
work is change the font (if cmd has such an option)
from unicodeplots.jl.
I tried changing the font (tested all three (!) font options) but all fonts gave some sort of question-mark-plot. BlockCanvas
doesn't display well too.
Well, just another reason to stop using Windows 😬
A way to overwrite the default canvas would be very nice! 😀
from unicodeplots.jl.
You can try starting Julia inside mintty, see JuliaLang/julia#7267 (comment)
mintty has better unicode support by default, and a better selection of fonts you can change to. deja vu sans mono has reasonable unicode coverage.
from unicodeplots.jl.
I've had some troubles running mintty and starting Julia under Cygwin gives me errors:
stty: standard input: Inappropriate ioctl for device
ERROR: failed process: Process(`stty raw -echo onlcr -ocrnl opost`, ProcessExited(1)) [1]
in pipeline_error at process.jl:555
But I came back to cmder (I have downloaded the mini version hoping it will be faster than full cmder) and the plots work beautifully now!
from unicodeplots.jl.
That should be fixed in 0.4.2.
from unicodeplots.jl.
Oh, I didn't notice that you've released 0.4.2 already, cool!
from unicodeplots.jl.
But I came back to cmder (I have downloaded the mini version hoping it will be faster than full cmder) and the plots work beautifully now!
Could you give a brief summary what exactly you did to fix the problem for you? So that the next person is saved the troubles of figuring it out by him/herself. Was it a specific version of cmder/mintty that you downloaded?
from unicodeplots.jl.
I don't think it is because of a specific version of cmder - I didn't use Julia from cmder before, because cmder can be horribly slow sometimes (waiting a few seconds for results of ls
). So I'd say that generally cmder works well with UnicodePlots
.
Concerning mintty - can't say much too; I downloaded mintty and Cygwin but mintty didn't seem to see cygwin on my machine so I went on to cmder.
from unicodeplots.jl.
Thanks! I'll leave this issue open for a bit for others to see
from unicodeplots.jl.
Related Issues (20)
- 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
- Plot border and axis markers are the same color as background HOT 5
- 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
- Heatmap handling of NaN HOT 4
- Add way to autolimit a plot that has been added to HOT 3
- spy + xflip / yflip
- heatmap errors for -Inf HOT 1
- Move from `Crayons` to `StyledStrings`
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.