hydrogen
hydrogen copied to clipboard
Axis ratio of plot changes in dock (pandas - matplotlib)
Prerequisites
- [x] Have you checked the solutions in our troubleshooting guide for common problems ?
- [x] Have you checked that your issue isn't already filed ?
Description
Axis ratio of plots are distorted when displayed in dock, while they are properly displayed in-line. I cannot recall when the issue started, I believe it was a few days ago.
Steps to Reproduce
- import pandas and create data frame
- plot the data in dock
import pandas as pd
cars = {'Brand': ['Honda Civic', 'Toyota Corolla', 'Ford Focus', 'Audi A4'],
'Price': [22000, 25000, 27000, 35000]
}
df = pd.DataFrame(cars, columns=['Brand', 'Price'])
df.plot.bar()
- go to Hydrogen Settings, select 'View output int the dock by default'
- re-plot data with output in dock
Versions
OS version: Ubuntu 20.04 LTS
atom --version
Atom : 1.51.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0
apm --version
apm 2.5.0
npm 6.14.5
node 10.20.1 x64
atom 1.51.0
python 3.8.6
git 2.25.1
Hydrogen version: 2.14.7
Plugins
Have you installed and activated any of the Hydrogen plugins below ?
- [ ] hydrogen-python
- [ ] Hydrogen Launcher
- [ ] Data Explorer
Logs
No error returned.
Expected behavior
Plots being displayed in dock as it is displayed in-line.
Screenshots
Additional context
None