{"id":13648487,"url":"https://github.com/domitry/nyaplot","last_synced_at":"2025-04-22T11:32:51.855Z","repository":{"id":17920638,"uuid":"20888699","full_name":"domitry/nyaplot","owner":"domitry","description":"interactive plots generator for Ruby","archived":false,"fork":false,"pushed_at":"2016-06-24T14:59:18.000Z","size":24821,"stargazers_count":219,"open_issues_count":38,"forks_count":27,"subscribers_count":12,"default_branch":"v2","last_synced_at":"2025-04-03T12:59:43.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domitry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-16T14:52:33.000Z","updated_at":"2024-05-28T14:08:00.000Z","dependencies_parsed_at":"2022-06-29T21:04:16.959Z","dependency_job_id":null,"html_url":"https://github.com/domitry/nyaplot","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domitry%2Fnyaplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domitry%2Fnyaplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domitry%2Fnyaplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domitry%2Fnyaplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domitry","download_url":"https://codeload.github.com/domitry/nyaplot/tar.gz/refs/heads/v2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250232391,"owners_count":21396632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:04:17.837Z","updated_at":"2025-04-22T11:32:47.211Z","avatar_url":"https://github.com/domitry.png","language":"Ruby","readme":"# Nyaplot\n[![Build Status](https://travis-ci.org/domitry/nyaplot.svg?branch=v2)](https://travis-ci.org/domitry/nyaplot)\n[![Gem Version](https://badge.fury.io/rb/nyaplot.svg)](http://badge.fury.io/rb/nyaplot)\n\n![alt text](https://dl.dropboxusercontent.com/u/47978121/gsoc/nya_top.png)\n\nNyaplot is an interactive plots generator for Ruby users. Its goal is to make it easy to create interactive plots in Ruby and still allows fast prototyping, customizability, and the integration with other scientific gems.\n\nNyaplot is a compound word from 'Nya' and 'plot.' The word 'Nya' comes from an onomatopoeia of cat's meow in Japanese.\n\nThis software has been developed as a product in Google Summer of Code 2014 (GSoC2014). Visit the [website]((http://sciruby.com/blog/)) or [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev) of SciRuby to see the progress of this project.\n\n**Attention: Nyaplotjs was banned by rawgit.js and nyaplot v0.1.3 was released to fix that. Please update your nyaplot and re-excute each notebooks.**\n\n## Demo\n\n+ [Movie demo on YouTube](https://www.youtube.com/watch?v=ZxjqsIluM88)\n+ [Nyaplot Tutorial \u0026 Case study](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Index.ipynb)\n\nVisit [nyaplot-notebooks on GitHub](https://github.com/domitry/nyaplot-notebooks) to see more example.\n\n## Documents\n\nDocuments are [here](http://rubydoc.info/github/domitry/nyaplot/master/frames).\n\n## Extensions\n\nNyaplot has an extension system to make it easy to add more normal and different types of diagrams.\nLibraries shown below are already bundled with this gem and you can use them by adding 'require'.\n\nEach extension consists of its back-end written in JavaScript and a small Ruby wrapper for it. \n\n### Nyaplot3D\n\nNyaplot3D enables us to create interactive 3D charts with Ruby.\nIts back-end library is [Elegans](https://github.com/domitry/elegans), a 3D plots generator written in JavaScript.\n\n![Nyaplot3D](https://dl.dropboxusercontent.com/u/47978121/gsoc/nyaplot3d_top.png)\n\nTo learn more, see [the notebook](http://nbviewer.ipython.org/github/domitry/Nyaplot/blob/master/examples/notebook/3DPlot.ipynb).\n\n### Bionya\n\nBionya is an extension library for Nyaplot that allows us to create plots for Biology. The main content of Bionya is the circular plot, that is usually used to visualize information of genes like relationship among them. This library is inspired by [circos](http://circos.ca/).\n\n![Bionya](https://dl.dropboxusercontent.com/u/47978121/gsoc/bionya_top.png)\n\nSee [this notebook](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Bionya.ipynb) to learn more.\n\n### Mapnya\n\nMapnya is an extension library for map visualization.\n\n![Mapnya](https://dl.dropboxusercontent.com/u/47978121/gsoc/mapnya_top.png)\n\nSee [this notebook](http://nbviewer.ipython.org/github/domitry/nyaplot/blob/master/examples/notebook/Mapnya.ipynb) to learn more.\n\n## Installation\n### Install nyaplot\n\u003c!--\n### Build and install nyaplot\nThis gem is still under development and is not registered to RubyGems.org. Therefore clone this repository and build gem by yourself to try it.\n\nClone this repository:\n\n    git clone git@github.com:domitry/nyaplot.git\n    \nAnd then build and install using gem command:\n\n    cd nyaplot\n    gem build nyaplot.gemspec\n    gem install nyaplot-0.0.1.gem\n--\u003e\n\nAdd this line to your application's Gemfile:\n\n    gem 'nyaplot'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install nyaplot\n\n\n### Install IRuby notebook\nNyaplot do not have any dependency, but we strongly recommend to install [IRuby](https://github.com/minad/iruby) by @minad at the same time.\nIRuby is a web-based interactive Ruby environment and Nyaplot is totally designed to work with it.\nYou can install the gem itself by running `gem install` command, but it has some dependent libraries outside of Ruby-ecosystem.\n\n#### Ubuntu 14.10\n\nThere are various ways to install Python and IPython notebook, but [Anaconda](https://store.continuum.io/cshop/anaconda/) is highly recommended.\n\nIRuby requires IPython \u003e= 1.1 and libzmq \u003e= 3.2, so update IPython and install libzmq3 before installing IRuby.\n\n```shell\nconda update ipython\nsudo apt-get install libzmq3-dev\n```\nAnd then try to run `gem install iruby`.\n\nIf the code above does not work, try below.\n\n```shell\nconda update zeromq\nconda update pyzmq\n```\n\n#### Mac OS X\n\nOn Mac OS X the IRuby notebook installation is a little bit tricky.\nYou would be better off using [Anaconda](https://store.continuum.io/cshop/anaconda/) for The IPython notebook dependencies except for **zeromq**.\nPlease be sure to remove conda zeromq package, and install zeromq with homebrew.\n\n```shell\nconda remove zeromq\nbrew install zeromq\n```\n\n#### Windows\n\nFirst, install IPython and its dependencies using [Enthought Canopy](https://www.enthought.com/). There are various ways to install IPython, but Canopy may be the most useful to Windows users.\n\nThen install IRuby by running `gem install iruby`.\n\nAfter that, install ZeroMQ from [here](http://zeromq.org/area:download). Be sure to install stable release of the version **3.2.?**.  \n**Attention: install 32bit version of Zeromq even if your Windows is built for 64-bit.**\n\nAdd the path to the directory of ZeroMQ binaries (Maybe the path is `Program Files (x86)/ZeroMQ 3.2.4/bin`) to environment variables `PATH`.\n\nThen rename `libzmq-v100-mt-3_2_4.dll` to `libzmq.dll`. It maybe in `Program Files (x86)/ZeroMQ 3.2.4/bin`.\n\nAt last, pure IRuby do not work on Windows, so please apply [patches I sent before](https://github.com/minad/iruby/pull/30) to IRuby.\n\n## Acknowledgments\n\nThis software has been developed by [Naoki Nishida](https://github.com/domitry) as a product in Google Summer of Code 2014 (GSoC2014). Visit the [website]((http://sciruby.com/blog/)) or [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev) of SciRuby to see the progress of this project.\n\n\n## Contributing\n\n1. Fork it ( http://github.com/domitry/nyaplot/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":["Ruby","Visualization"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomitry%2Fnyaplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomitry%2Fnyaplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomitry%2Fnyaplot/lists"}