holoviz / holoviz/hvplot

logx, logy not applying when datashade=True

Open
#187 8 comments 0 reactions 0 assignees View on GitHub
upstream
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

When `logx` or `logy` is set it doesn't log the points positions if `datashade=True`, it just changes the scale on the axis. Here's an example for `logx`:

```python
import pandas as pd
import numpy as np
import holoviews as hv

d = pd.DataFrame({
"x": np.linspace(1, 100, 10000) + np.random.rand(10000),
"y": np.linspace(1, 100, 10000) + np.random.rand(10000)
})

( d.hvplot.scatter("x", "y", logx=True)
+ d.hvplot.scatter("x", "y", logx=True, datashade=True)).cols(1)
```

![image](https://user-images.githubusercontent.com/8238804/54484800-53016880-48c1-11e9-9f7b-af2afe66b3a4.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.