Jean-Luc Stevens | 19 Mar 18:21 2015
Picon
Picon

ANN: HoloViews 1.0 released

We are pleased to announce the first public release of HoloViews, a
Python package for scientific and engineering data visualization:

    http://ioam.github.io/holoviews

HoloViews provides composable, sliceable, declarative data structures
for building even complex visualizations easily.

It's designed to exploit the rich ecosystem of scientific Python tools
already available, using Numpy for data storage, matplotlib and mpld3
as plotting backends, and integrating fully with IPython Notebook to
make your data instantly visible.

If you look at the website for just about any other visualization
package, you'll see a long list of pretty pictures, each one of which
has a page or two of code putting it together.  There are pretty
pictures in HoloViews too, but there is *no* hidden code -- *all* of
the steps needed to build a given figure are shown right before the
HoloViews plot, with just a few lines needed for nearly all of our
examples, even complex multi-figure subplots and animations.  This
concise but flexible specification makes it practical to explore and
analyze your data interactively, while leaving a full record for later
reproducibility in the notebook.

It may sound like magic, but it's not -- HoloViews simply lets you
annotate your data with appropriate metadata, and then the data can
display itself!  HoloViews provides a set of general, compositional,
multidimensional data structures suitable for both discrete and
continuous real-world data, and pairs them with separate customizable
plotting classes to visualize them without extensive coding.  A
(Continue reading)

Reckoner | 19 Mar 15:30 2015
Picon

Interesting workflow using IPython notebook

http://blog.sense.io/introducing-sense-a-platform-for-data-science/

The video demo on this page has an interesting workflow wherein sections of the
code are highlighted and run and the corresponding output is presented vertically, in a column next to the edited code. This is a very clever idea because sometimes the output from a large IPython notebook cell can be quite large and fitting it in under the corresponding code is distracting. It seems like they had solved this problem and collect the corresponding output in the next vertical pane. This Workflow seems to be a middle ground between the qtconsole and the notebook. I admit to using both simultaneously most of the time and I can see the ability to highlight and run, while collecting the output is a big cognitive advantage. It also doesn't seem like IPython is far away from this workflow, given it already has magics like %loadpy.

Just a thought.

Thanks!




_______________________________________________
IPython-User mailing list
IPython-User <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
empet | 16 Mar 20:02 2015
Picon

nbconvert

Hi all,

I've just noticed that some LaTeX formulae in an IPython Notebook posted on
github, early in february, are no more displayed correctly (they are
displayed verbatim).  I mention that at the upload time on github the ipynb
file was displayed very well by nbviewer.

I opened the ipynb file in the  IPython/Jupyter   3.0, run every cell again
and downloaded it as an html file. The last one is also  wrong displayed. 
Is this behaviuor caused by the nbconvert in IPython 3.0?

Thanks,
Em

--
View this message in context: http://python.6.x6.nabble.com/nbconvert-tp5089500.html
Sent from the IPython - User mailing list archive at Nabble.com.
Neal Becker | 5 Mar 19:35 2015
Picon

ipython current (2927) loads python.el???

I just installed ipython using emacs package management, which gave me version 2927.

This broke use of python-mode, because in ipython.el, we have:

;(require 'python)
;;; Code

I commented out the (require 'python)

If this line is in, python-mode will not be loaded - instead python mode will be loaded.  Why was this added (not in an earlier version of ipython.el).

--
Those who don't understand recursion are doomed to repeat it
_______________________________________________
IPython-User mailing list
IPython-User <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
Evgeni Burovski | 1 Mar 20:54 2015
Picon

nbcpnvert-ing presentations

Hi,

First and foremost, thanks for the great tool!

A first time poster here, so apologies if this is not the right medium.

I'm trying to nbconvert a notebook into a presentation (for a first
time), and I'm hitting a couple of snags. Which are most likely user
errors, but I'd be thankful for any suggestions/workarounds:

What I do is I have a pip-installed jupyter 3 notebook, select
"presentation" in the cell toolbar and mark cells as slides, subslides
or fragments and then from the terminal execute

$ipython nbconvert my_notebook.ipynb --to slides --post serve

1. Is there a way of showing several cells at once as a "slide". So
far in a plain setup at least, a "subslide" needs an arrow press to be
displayed, and so is a fragment. Is there a direct way of showing
several cells as a single slide rather than marking them as fragments
and pressing the down arrow multiple times?

2. Not sure if it's my setup or something else. When I use LaTeX
formatting in a markdown cell, it renders fine in the notebook (using
MathJax, I believe), but when converted to slides, the TeX markup
disappears.
I'm not sure what's the best way of supplying a runnable example ---
to reproduce it's enough to type

"Numpy arrays can be reshaped in $O(1)$  time and space"

into a cell, mark it as markdown and convert.

3. Unrelated to nbconvert really: with a new kernel, Cell -> Run All
seems to stop at a cell which raises an error.

I'd be happy to supply more information if needed. Again, apologies if
this is a wrong list for this. And thanks for any pointers.

Evgeni
diehl | 23 Feb 19:26 2015
Picon

Getting Started with IPython Widgets

Hi Folks, 

I'd like to start experimenting with IPython widgets and use them in an
ongoing consulting project. Is the IPython 2.x implementation of widgets
stable now? Or is there some reason to start straightaway with 3.x? Any tips
on where I can find documentation? Seems a bit sparse. 

Thanks!

Chris

--
View this message in context: http://python.6.x6.nabble.com/Getting-Started-with-IPython-Widgets-tp5087233.html
Sent from the IPython - User mailing list archive at Nabble.com.
Alexander Garcia Castro | 30 Jan 04:07 2015
Picon

ipython in scholarly communication

Dear all, Sepublica is particularly interested in getting submissions from ipython usrs/developers. we are very interested in seeing new ways of scholarly communication in action and we believe that ipython illustrates a path to be followed. 

SePublica 2015: Do show, do not tell!

=====================================

Workshop website: http://sepublica.info/
Event hashtags: #SePublica #ESWC2015

in conjunction with

ESWC 2015
The 12th European Semantic Web Conference
http://2015.eswc-conferences.org/

At SePublica we are interested in addressing the question, how is Semantic Web technology being used as part of publication workflows.

Challenge us with a creative submission. Let us see and experience your take on publications for the Web of data; we want to see NEW ideas in action, INNOVATION that makes our lives easier. Is it about scholarly communication? Then what problem are you solving? How are you making the content interoperable? How is this different/better from traditional approaches?


Important Dates
---------------
* Submission deadline: 2015-03-06
* Notifications: 2015-04-03
* Camera ready version: 2015-04-17


Submission
----------
Easychair: https://www.easychair.org/conferences/?conf=sepublica2015

Submissions will be peer reviewed. Accepted works have to be presented at the workshop (requires registering for the ESWC conference and the workshop). Every accepted submission will be published in the proceedings of the workshop.

Submission Types
----------------
### Call for Submissions
Deadline: 2015-03-06. Authors may submit their content in whatever way they consider is best for their purposes (e.g., HTML, RDFS/OWL, IPython, PDF, or any publicly executable script, etc). Please feel free to contact us to discuss your particular case if necessary. We will be happy to assist authors and support them as much as we can. Submissions are format free, GIT URLs are accepted just like OWL, XML etc. However, reviewers should not have to install software in order to review the submissions. Datasets are also accepted. In all cases everything must be publicly available. For those of you submitting a PDF please use the LNCS format, 12 pages is the limit –including references. Please, note that (X)HTML(+RDFa) submissions are also welcome as long as the layout complies with the LNCS style. For example, authors may use the template provided at https://github.com/csarven/linked-research

### Call for Polemics
Deadline: 2015-04-24. We would like to invite authors to send us a one page manuscript, 20 lines max, describing their position with respect to new technologies supporting the publication workflow: What are the most pressing issues to be addressed? What is their position with respect to the overall problem? What innovation is needed? etc. Polemics authors will have only 5 minutes to present; the format of this session is sequential, after each presentation the next follows with no questions in between. There will be a discussion and summary of all the issues at the end of all the polemics session.

Issues to be addressed
----------------------
* Should papers be semantically annotated?
* How would you search or query for research objects?
* How can research objects be reused?
* What is an executable semantic paper?
* How can we create interactive research documents to better communicate and educate?
* Is there a format for semantic publishing or does it require a combination of formats?
* How can research documents be persistent and archived? Which formats are preferable and why?
* If we subscribe to science, free and open access to knowledge, what's the purpose of the arrangement between conferences and publishers? Or can big conferences manage the publication themselves?
* Is there visible change towards semantic authoring and publishing? If not, what are some of the underlying challenges to get there?
* Assume a 3-year plan to transition the SW research community to completely publish using SW technologies. Identify the milestones and explain how it would happen.
* Backend use of semantics by publishers in book, news, and scholarly publishing
* Publishing data-driven arguments for general news consumption or in scholarly papers
* Historical changes in publishing since the advent of online publishing: what is going right?

Organizing Committee
--------------------
* Phillip Lord
* Alexander Garcia Castro
* Sarven Capadisli
* Jodi Schneider

--
_______________________________________________
IPython-User mailing list
IPython-User <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
Denis Akhiyarov | 29 Jan 23:28 2015
Picon

survey/poll using ipython notebook on local network

Is it possible to create a survey/poll in ipython/jupyter notebook, e.g. using widgets? Why ipython - due to some built-in statistics.

I'm not using surveymonkey, because this has to be on local network/intranet.

Otherwise I'll have to use an approach similar to this:


Thanks,
Denis
_______________________________________________
IPython-User mailing list
IPython-User <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
Andrew Jaffe | 15 Jan 14:45 2015
Picon

InlineBackend.figure_formats

Hi all,

I see that you can set the figure format(s) shown by the inline backend 
for matplotlib by assigning a set of appropriate strings to an IPython 
Config instance's InlineBackend.figure_formats. I don't quite understand 
what it means for there to be more than one member of the set. Which one 
(I think it's just one) is actually displayed? Are the others rendered 
but not displayed? How are they accessed? Or am I just missing the point?

Yours,

Andrew
Fernando Perez | 9 Jan 05:43 2015
Picon

Re: trapping error thrown by line magics?

Dear Catherine,

certain magics swallow their exceptions, %cd in particular.  We made that decision to make them more human-friendly, since magics were originally conceived really as a pure human-driven convenience while working interactively, not as a library/programming construct.

In general, the magic system does *not* swallow all exceptions, though, so you could add your own versions of the ones you need with different behavior.

Not an ideal answer, but at least the system doesn't intrinsically prevent what you're looking for (which I was afraid we might, so I actually went looking a bit).

Cheers

f


On Tue, Jan 6, 2015 at 8:42 AM, Catherine Devlin <catherine.devlin <at> gmail.com> wrote:
I really enjoy being able to build informal IPython scripts that include line magics.  Maybe too much.

When I do so, is there a way to trap errors thrown by line magics?  This doesn't work as I had hoped:
try: %cd directory_that_does_not_existexcept Exception as err: print('error trapped!')
[Errno 2] No such file or directory: 'directory_that_does_not_exist' /home/catherine/werk/openFEC/data/tuning

Thanks,

_______________________________________________
IPython-User mailing list
IPython-User <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user




--
Fernando Perez ( <at> fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
_______________________________________________
IPython-User mailing list
IPython-User <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user
Catherine Devlin | 6 Jan 17:42 2015
Picon

trapping error thrown by line magics?

I really enjoy being able to build informal IPython scripts that include line magics.  Maybe too much.

When I do so, is there a way to trap errors thrown by line magics?  This doesn't work as I had hoped:
try: %cd directory_that_does_not_existexcept Exception as err: print('error trapped!')
[Errno 2] No such file or directory: 'directory_that_does_not_exist' /home/catherine/werk/openFEC/data/tuning

Thanks,
_______________________________________________
IPython-User mailing list
IPython-User <at> scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-user

Gmane