Giter Club home page Giter Club logo

Comments (5)

jakirkham avatar jakirkham commented on May 21, 2024 2

As noted in issue ( holoviz/holoviews#2178 ), would be nice to see this in the context of Gridded Datasets as well. Still new to holoviews, so sorry if I'm just repeating what's in the OP.

from panel.

philippjfr avatar philippjfr commented on May 21, 2024 1

Thanks @MarcSkovMadsen but that's not really what the request was. For this issue to be fully addressed the HoloViews pane would have to support this by default for float/int based widgets.

from panel.

vascotenner avatar vascotenner commented on May 21, 2024

It would be very cool if values can be entered outside the range of the param, and that than the param range would increase. Often, when I investigate some parameter space, I find halfway that my ranges are insufficient. It is quite a work to create a new dmap with a larger range, set the other x parameters back to their values.

from panel.

jbednar avatar jbednar commented on May 21, 2024

Makes sense. Sounds like you want something like the param package's "softbounds".

ipywidgets sliders now allow editing the textual value; not sure if that's any help when trying to implement this.

from panel.

MarcSkovMadsen avatar MarcSkovMadsen commented on May 21, 2024

I will close this one. The initial request of editing slider values have been solved with https://blog.holoviz.org/panel_0.12.0.html#New-widgets

For example we can now do

image

import param
import panel as pn
import holoviews as hv
import numpy as np

slider = pn.widgets.EditableFloatSlider(name='EditableFloatSlider', start=0, end=3.14)

def plot(value):
    xs = np.linspace(-5,5,100)
    return hv.Curve((xs,-(xs-2)**2))  * hv.Text(0, -30, str(value))
plot=pn.bind(plot, value=slider)

pn.Column(
    slider,
    pn.pane.HoloViews(hv.DynamicMap(plot))
).servable()

from panel.

Related Issues (20)

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.