Questions tagged [holoviews]

HoloViews is a Python library that makes analyzing and visualizing scientific or engineering data much simpler, more intuitive, and more easily reproducible.

HoloViews is a Python library that makes analyzing and visualizing scientific or engineering data much simpler, more intuitive, and more easily reproducible. Without HoloViews, there are typically many steps required before you can see your data, whether you use a GUI interactively or write a function or script to build up a plot. HoloViews instead lets you store your data in an annotated format that is instantly visualizable, with immediate access to both the numeric data and its visualization. For instance, if you wrap a two-dimensional dataset like a fractal in a HoloViews Image object named fractal , you can just type fractal to view it as an image in an IPython/Jupyter Notebook . Most importantly, combining it with other objects is now easy -- you can e.g. view it annotated with a horizontal line and a histogram, next to a slice of it from the indicated cross-section, all without writing any plotting code.

Features

Overview

  • Lets you build data structures that both contain and visualize your data.
  • Includes a rich library of composable elements that can be overlaid, nested, and positioned with ease.
  • Supports rapid data exploration that naturally develops into a fully reproducible workflow .
  • You can create complex animated or interactive visualizations with minimal code.
  • Rich semantics for indexing and slicing of data in arbitrarily high-dimensional spaces .
  • Every parameter of every object includes easy-to-access documentation.
  • All features available in vanilla Python 2 or 3 , with minimal dependencies.
  • All examples on the website are tested automatically each night, using the latest version of the code.

Support for maintainable, reproducible research

  • Supports a truly reproducible workflow by minimizing the code needed for analysis and visualization.
  • Already used in a variety of research projects, from conception to final publication.
  • All HoloViews objects can be pickled and unpickled, with no plotting-library dependencies.
  • Provides comparison utilities for testing, so you know when your results have changed and why.
  • Core data structures only depend on the numpy and param libraries.
  • Provides export and archival facilities for keeping track of your work throughout the lifetime of a project.

Analysis and data access features

  • Allows you to annotate your data with dimensions, units, labels and data ranges.
  • Easily slice and access regions of your data, no matter how high the dimensionality.
  • Apply any suitable function to collapse your data or reduce dimensionality.
  • Helpful textual representation to inform you how every level of your data may be accessed.
  • Includes small library of common operations for any scientific or engineering data.
  • Highly extensible: add new operations to easily apply the data transformations you need.

Visualization features

  • Useful default settings make it easy to inspect data, with minimal code.
  • Powerful normalization system to make understanding your data across plots easy.
  • Build complex animations or interactive visualizations in seconds instead of hours or days.
  • Refine the visualization of your data interactively and incrementally.
  • Separation of concerns: all visualization settings are kept separate from your data objects.
  • Support for interactive tooltips/panning/zooming/linked-brushing, via the optional bokeh or mpld3 backends.

Jupyter/IPython Notebook support

  • Support for both IPython 2 and 3 and for the Jupyter project.
  • Automatic tab-completion everywhere.
  • Exportable sliders and scrubber widgets.
  • Automatic display of animated formats in the notebook or for export, including gif, webm, and mp4.
  • Useful IPython magics for configuring global display options and for customizing objects.
  • Automatic archival and export of notebooks , including extracting figures as SVG, generating a static HTML copy of your results for reference, and storing your optional metadata like version control information.

Integration with third-party libraries

  • Flexible interface to both the pandas and Seaborn libraries
  • Immediately visualize pandas data as any HoloViews object.
  • Seamlessly combine and animate your Seaborn plots in HoloViews rich, compositional data-structures.

Official website: http://holoviews.org/

667 questions
0
votes
1 answer

Combining Pointdraw and Sample in Holoviews

I'm trying to combine Holoviews' Pointdraw functionality with its Sample functionality (I couldn't find a specific page, but it is shown in action here http://holoviews.org/gallery/demos/bokeh/mandelbrot_section.html) Specifically, I want to have…
user129412
  • 765
  • 1
  • 6
  • 19
0
votes
1 answer

different element sizes with matplotlib backend

I'm trying to accomplish a heatmap color bar to add extra info about the kdims in my heatmap. (Like the colSideColors option if you are familiar with R's heatmap.2 package.) I can get a nice result with bokeh backend, but don't know how to get…
Owen
  • 3,063
  • 5
  • 30
  • 26
0
votes
1 answer

Plotting In Python, Peicewise, Holoveiws, Bokeh, Heatmaps

I need to discriminate against non physical data in my heatmaps. I am using python(bokeh and holoviews). Example Code: import numpy as np import holoviews as hv import warnings\ warnings.filterwarnings("ignore") hv.extension('bokeh') %opts Image…
codes4toads
  • 65
  • 1
  • 1
  • 5
0
votes
1 answer

Change tooltip values based on Holoviews dropdown

I am trying to dynamically modify my y-axis tick formatting and tooltip formatting based on what is selected in a Holoviews dropdown. I figured I could do this in finalize_hooks. Since I don't know how to test for what has been selected in the…
pongo30
  • 29
  • 6
0
votes
1 answer

holoviews - boxplot from aggrgated data only

I have a large dataset on which I want to plot boxplot charts on some columns, so that I aggregate values in SQL and pass them on to python. Is it possible to create a boxplot chart in holowievs using just aggregated values instead of raw data? Can…
Chris
  • 767
  • 1
  • 8
  • 23
0
votes
1 answer

setting sizing_mode bokeh property for holowviews generated plot

I'm having some sizing issue(responsiveness) with holoviews chart rendered with bokeh in a custom template. Could anyone help figure out how to give properties like plot_height=200 & sizing_mode="scale_width" to Bokeh plot returned by Holoviews? …
Venugopal Madathil
  • 2,031
  • 3
  • 34
  • 44
0
votes
1 answer

Dimension value_format callback not working properly

This is a new question related to a previous question I asked: holoviews can't find flexx when using a Dimension value_format callback Thanks to downgrading my version of flexx, I am no longer getting the warning message. However, the callback…
Chris Ratcliffe
  • 116
  • 1
  • 10
0
votes
1 answer

holoviews can't find flexx when using a Dimension value_format callback

I am attempting to learn HoloViews within my ipython notebook and have run into an issue related to using a custom value_format for my kdims Dimension object. Right now, my xformat routine is basically a no-op but I want to experiment with…
Chris Ratcliffe
  • 116
  • 1
  • 10
0
votes
1 answer

Holoviews - network graph - change edge color

I am using holoviews and bokeh with python 3 to create an interactive network graph fro mNetworkx. I can't manage to set the edge color to blank. It seems that the edge_color option does not exist. Do you have any idea how I could do that?
0
votes
0 answers

Interactively selecting color index for graphs in holoviews

I've created a graph using networkx in a jupyter notebook. Each node of the graph has three different attributes. Layout (spring_layout) and visualising the graph with holoviews, I want to create a widget where I can choose which attributes to be…
rob
  • 1
  • 2
0
votes
1 answer

How can I color a Curve by the value of a kdim with Holoviews?

I would like to .overlay on key dimension, but also use a gradient palette to color the Curve by the value of the key dimension. So a simple overlay would be %%opts Curve [show_legend=False] hv.HoloMap({i:hv.Curve([i]*100) for i in range(10)},…
Gere
  • 12,075
  • 18
  • 62
  • 94
0
votes
1 answer

Perform EDA and visualize it if my data can not fit in memory? my dataset size is 200gigs

Performing exploratory data analysis is the first step in any machine learning project, I mostly use pandas to perform data exploration using datasets that fit in memory... but I would like to know how to perform data cleaning, handle missing data…
AVR
  • 83
  • 9
0
votes
2 answers

visualizing in bokeh holoview

I have generated following data: topic termWeights termNames 0 0 0.02788352873965973 christma 1 0 0.02232702425056217 dragon 2 0 0.019817406886504067 autumn 3 0 0.01850595162915197 everyth 4 0 0.016370882157494063 …
lpt
  • 931
  • 16
  • 35
0
votes
2 answers

how can i change the size of points in my map in holoviews?

here is my code: import holoviews as hv import datashader as ds import dask.dataframe as dd import geoviews as gv from cartopy import crs from holoviews.operation.datashader import datashade hv.extension('bokeh', width=95) %opts RGB …
BozhiWang
  • 103
  • 3
  • 7
0
votes
0 answers

saving holoviews scatter plot visualizations in html

#################### :Layout .HoloMap.I :HoloMap [data_type,window_type,cell] :Scatter [instance] (irDrop) .Scatter.I :Scatter [cell] (irDrop) .Scatter.II :Scatter [cell] …
DaVinci
  • 1
  • 1