johnmyleswhite / asciiplots.jl Goto Github PK
View Code? Open in Web Editor NEWGenerate simple plots as ASCII art in Julia
License: Other
Generate simple plots as ASCII art in Julia
License: Other
$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.6.2 (2017-12-13 18:08 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-pc-linux-gnu
julia> using ASCIIPlots
ERROR: LoadError: UndefVarError: ASCIIString not defined
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] eval(::Module, ::Any) at ./boot.jl:235
[3] _require(::Symbol) at ./loading.jl:490
[4] require(::Symbol) at ./loading.jl:405
while loading /home/florian/.julia/v0.6/ASCIIPlots/src/ASCIIPlots.jl, in expression starting on line 5
julia> Pkg.installed("ASCIIPlots")
v"0.0.3"
I've been using this a bit, and I find quite annoying that it doesn't take a single array as input, when you want to visualize a vector y you have to type scatterplot([1:length(y)], y) . I would just add these two interfaces:
function scatterplot(y::AbstractVector; sym::Char = '^')
scatterplot(vec(1:length(y)), y;sym=sym)
end
function lineplot(y::Vector)
lineplot(vec(1:length(y)),y)
end
ifloor(x) is deprecated, use floor(Integer,x) instead.
in: in scatterplot at C:\Users\CVO.julia\v0.4\ASCIIPlots\src\scatterplot.jl:25
It would be rad if it had an optional argument for the limits of the graph (at least ymin and ymax).
PackageEvaluator.jl is a script that runs nightly.
It attempts to load all Julia packages and run their tests (if available) on both the stable
version of Julia (0.3) and the nightly build of the unstable version (0.4).
The results of this script are used to generate a package listing
enhanced with testing results. This service also benefits package developers by notifying them if
their package breaks for some reason (caused by e.g. changes in Julia, changes in dependencies,
or broken binary dependencies.)
Currently PackageEvaluator attempts to find your test scripts using a heuristic, preferring the
standarized test/runtests.jl
whenever present. Using test/runtests.jl
allows people to test
your package using simply Pkg.test("ASCIIPlots")
, with any testing-only dependencies being
installed by looking at test/REQUIRE
.
Your package doesn't appear to have a test/runtests.jl
file. PackageEvaluator is going to move
away from auto-detecting tests and will instead only test packages with a test/runtests.jl
file. This change will take place in about a month.
You can:
If you'd like help or more information, please just reply to this issue.
As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.
To transition to the new Pkg system using Project.toml
, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.
If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss here or in the thread linked at the top of this post.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.