Skip to content

1.4 Perspective issues #6722

Closed
Closed

Description

I'm on Panel==1.4.1 on linux jupyter hub, edge browser on windows

The settings sidebar background does not look great

image

import panel as pn
import pandas as pd
import numpy as np
import random
from datetime import datetime, timedelta

pn.extension('perspective')

data = {
    'int': [random.randint(-10, 10) for _ in range(9)],
    'float': [random.uniform(-10, 10) for _ in range(9)],
    'date': [(datetime.now() + timedelta(days=i)).date() for i in range(9)],
    'datetime': [(datetime.now() + timedelta(hours=i)) for i in range(9)],
    'category': ['Category A', 'Category B', 'Category C', 'Category A', 'Category B',
             'Category C', 'Category A', 'Category B', 'Category C',],
    'link': ['https://panel.holoviz.org/', 'https://discourse.holoviz.org/', 'https://github.com/holoviz/panel']*3,
}
df = pd.DataFrame(data)

perspective = pn.pane.Perspective(df, height=600, width=1000)
pn.Column(perspective.param.settings, perspective).servable()

If I go to the documentation it looks fine

image

If I change from Edge to Firefox browser the served app also looks fine.

image

Browser Issues

App on Edge

No issues in Console. No issues in Network.

But sidebar background looks as shown above.

If I disable the background it looks like

image

Documentation on Edge

The output cells are empty unless I hard refresh. After hard refresh Perspective looks fine.

image

There are no errors in the browser console. But material-dark.css is missing.

image

App on Firefox

No issues in Console. No issues in Network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't correct or isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions