Git Product home page Git Product logo

gallery's Introduction

Heliopython Gallery

A Gallery of Examples and Tutorials for the Python in Heliophysics Community.

The gallery is hosted at the following url http://heliopython.org/gallery/generated/gallery/index.html.

Contributing

Contributions of new tutorials and examples are encouraged on most any topic that is relevant to the use of Python in Heliophysics. This includes demonstrating functionality in existing heliophysics packages or showing off functionality in general scientific computing packages which may be of use to the community.

To contribute a new tutorial please provide a pull request. All tutorial files are stored in the gallery\ directory and must be a python file. The gallery uses the sphinx gallery plugin and all output including plots are generated automatically. You can see an example gallery here. The SunPy gallery is also a good example. For the required syntax see the sphinx gallery syntax documentation. Since the syntax is fairly straightforward you may also just refer to an existing tutorial file.

Previewing your Example

Once you open a pull request the build system will build and preview the site for you. There will be a check called "Giles" which will let you view the site and ensure that your example is formatted as you wish.

Building

If you'd like to build the gallery on your local machine the easiest way is to use tox.

$ pip install tox
$ tox

The generated output can then be found in _build/html/index.html and can be viewed with any web browser.

Adding New Dependencies

If your example needs a package the gallery currently doesn't use then you should add it to the list in the requirements.txt file in the root of the repository.

gallery's People

Contributors

ehsteve avatar cadair avatar bryan-harter avatar nickssl avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.