123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- \hypertarget{namespacecanvas__wrapper}{}\section{canvas\+\_\+wrapper Namespace Reference}
- \label{namespacecanvas__wrapper}\index{canvas\+\_\+wrapper@{canvas\+\_\+wrapper}}
- \subsection*{Functions}
- \begin{DoxyCompactItemize}
- \item
- def \hyperlink{namespacecanvas__wrapper_aeba5fd94e005cd99245deb78314af8d1}{canvas} (name=\char`\"{}icanvas\char`\"{}, size=(800, 600))
- \item
- \hypertarget{namespacecanvas__wrapper_a599964c201b5325978c188bf42a5a6e2}{}\label{namespacecanvas__wrapper_a599964c201b5325978c188bf42a5a6e2}
- def {\bfseries \+\_\+display\+\_\+canvas} (\hyperlink{namespacecanvas__wrapper_aeba5fd94e005cd99245deb78314af8d1}{canvas})
- \item
- \hypertarget{namespacecanvas__wrapper_aeb14ff6dc58ee428879948f1e4cb3093}{}\label{namespacecanvas__wrapper_aeb14ff6dc58ee428879948f1e4cb3093}
- def {\bfseries \+\_\+display\+\_\+any} (obj)
- \end{DoxyCompactItemize}
- \subsection*{Variables}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{namespacecanvas__wrapper_a67ab2edb7712a9e37cc45faad997f916}{}\label{namespacecanvas__wrapper_a67ab2edb7712a9e37cc45faad997f916}
- {\bfseries png\+\_\+formatter} = get\+\_\+ipython().display\+\_\+formatter.\+formatters\mbox{[}\textquotesingle{}image/png\textquotesingle{}\mbox{]}
- \end{DoxyCompactItemize}
- \subsection{Detailed Description}
- \begin{DoxyVerb}Helper module for displaying ROOT canvases in ipython notebooks
- Usage example:
- # Save this file as rootnotes.py to your working directory.
- import rootnotes
- c1 = rootnotes.canvas()
- fun1 = TF1( 'fun1', 'abs(sin(x)/x)', 0, 10)
- c1.SetGridx()
- c1.SetGridy()
- fun1.Draw()
- c1
- More examples: http://mazurov.github.io/webfest2013/
- @author alexander.mazurov@cern.ch
- @author andrey.ustyuzhanin@cern.ch
- @date 2013-08-09
- \end{DoxyVerb}
-
- \subsection{Function Documentation}
- \hypertarget{namespacecanvas__wrapper_aeba5fd94e005cd99245deb78314af8d1}{}\label{namespacecanvas__wrapper_aeba5fd94e005cd99245deb78314af8d1}
- \index{canvas\+\_\+wrapper@{canvas\+\_\+wrapper}!canvas@{canvas}}
- \index{canvas@{canvas}!canvas\+\_\+wrapper@{canvas\+\_\+wrapper}}
- \subsubsection{\texorpdfstring{canvas()}{canvas()}}
- {\footnotesize\ttfamily def canvas\+\_\+wrapper.\+canvas (\begin{DoxyParamCaption}\item[{}]{name = {\ttfamily \char`\"{}icanvas\char`\"{}}, }\item[{}]{size = {\ttfamily (800,~600)} }\end{DoxyParamCaption})}
- \begin{DoxyVerb}Helper method for creating canvas\end{DoxyVerb}
-
|