• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dsten / datascience / 347 / 1
75%
master: 74%

Build:
Build:
LAST BUILD BRANCH: readthedocs
DEFAULT BRANCH: master
Ran 28 Oct 2015 01:05AM UTC
Files 5
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Oct 2015 01:04AM UTC coverage: 75.142%. First build
347.1

push

travis-ci

SamLau95
Fix bug in xticks for Table.plot()

Before, calling

    Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y']).plot('x')

Would show xticks of 0, 0.1, 0.2, etc. instead of 0, 2, 4, ...
This was beacuse we assumed that the horizontal axis values as passed in
the `ticks` variable were integers. Instead, we should just ask the axis
for the ticks it used to plot the data.

To test:

```python

a = Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y'])
a.plot('x')

b = Table([np.arange(0, 20, .1), np.arange(0, 2, .01)], ['x', 'y'])
b.plot('x')

792 of 1054 relevant lines covered (75.14%)

0.75 hits per line

Source Files on job 347.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 347
  • Travis Job 347.1
  • ca9af051 on github
  • Next Job for on fix-plot-ticks (#348.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc