help output doesnt seem to be working properly in spyder new version(3.2.3)
See original GitHub issueDescription
What steps will reproduce the problem?
- why not in spyder new verion(3.2.3), help is bot working properly? we are getting incomplete info about any objects we uery…whats its remedy…i have python 3.6 installed
What is the expected output? What do you see instead?
Please provide any additional information below
Version and main components
- Spyder Version: 3.2.3
- Python Version: 3.6.2
- Qt Versions: 5.6.2, PyQt5 5.6 on Windows
Dependencies
pyflakes >=0.6.0 : 1.5.0 (OK)
pycodestyle >=2.3: 2.3.1 (OK)
pygments >=2.0 : 2.2.0 (OK)
pandas >=0.13.1 : 0.20.3 (OK)
numpy >=1.7 : 1.13.1 (OK)
sphinx >=0.6.6 : 1.6.3 (OK)
rope >=0.9.4 : 0.10.5 (OK)
jedi >=0.9.0 : 0.10.2 (OK)
nbconvert >=4.0 : 5.3.1 (OK)
sympy >=0.7.3 : 1.1.1 (OK)
cython >=0.21 : 0.26.1 (OK)
qtconsole >=4.2.0: 4.3.1 (OK)
IPython >=4.0 : 6.1.0 (OK)
pylint >=0.25 : 1.7.2 (OK)
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (10 by maintainers)
Top Results From Across the Web
No multiprocessing print outputs (Spyder) - Stack Overflow
Now it is clear that the console only seems to print the info function, but not any output of the f function (which...
Read more >Frequently Asked Questions — Spyder 5 documentation
Help ! First, make sure the error you are seeing is not a bug in your code. To confirm this, try running it...
Read more >2to3 — Automated Python 2 to 3 code translation — Python ...
2to3 is a Python program that reads Python 2.x source code and applies a series of fixers to transform it into valid Python...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug:1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance ... Bug:112423 - "sys-kernel/module-rebuild-0.5 does not appear to handle portage ...
Read more >Using the Spyder IDE - ENV 859 - Geospatial Data Analytics
Open Spyder from the Python command prompt, in default as well as specific locations. Describe what a Spyder project is and what a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi team,
Kindly help me out as to why i am unable to plot by using plotly in anaconda distribution?
below is the code snippet in jupyter notebook
```python import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns %matplotlib inlinefrom plotly import version
print(version) 3.1.0
import cufflinks as cf E:\anaconda\lib\site-packages\plotly\graph_objs_deprecations.py:558: DeprecationWarning:
plotly.graph_objs.YAxis is deprecated. Please replace it with one of the following more specific types
E:\anaconda\lib\site-packages\plotly\graph_objs_deprecations.py:531: DeprecationWarning:
plotly.graph_objs.XAxis is deprecated. Please replace it with one of the following more specific types
import plotly.offline from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot init_notebook_mode(connected=True) import cufflinks as cf cf.go_offline() IOPub data rate exceeded. The notebook server will temporarily stop sending output to the client in order to avoid crashing it. To change this limit, set the config variable –NotebookApp.iopub_data_rate_limit.
df = pd.DataFrame(np.random.randn(100,4),columns=‘A B C D’.split()) df.iplot(kind=‘scatter’,x=‘A’,y=‘B’,mode=‘markers’,size=10)
ValueError Traceback (most recent call last) in () ----> 1 df.iplot(kind=‘scatter’,x=‘A’,y=‘B’,mode=‘markers’,size=10)
E:\anaconda\lib\site-packages\cufflinks\plotlytools.py in _iplot(self, kind, data, layout, filename, sharing, title, xTitle, yTitle, zTitle, theme, colors, colorscale, fill, width, dash, mode, interpolation, symbol, size, barmode, sortbars, bargap, bargroupgap, bins, histnorm, histfunc, orientation, boxpoints, annotations, keys, bestfit, bestfit_colors, mean, mean_colors, categories, x, y, z, text, gridcolor, zerolinecolor, margin, labels, values, secondary_y, secondary_y_title, subplots, shape, error_x, error_y, error_type, locations, lon, lat, asFrame, asDates, asFigure, asImage, dimensions, asPlot, asUrl, online,
*kwargs)761 bargap=bargap,bargroupgap=bargroupgap,annotations=annotations,gridcolor=gridcolor,762 dimensions=dimensions,–> 763 zerolinecolor=zerolinecolor,margin=margin,is3d=‘3d’ in kind,*l_kwargs) 764 765 if not data:
E:\anaconda\lib\site-packages\cufflinks\tools.py in getLayout(kind, theme, title, xTitle, yTitle, zTitle, barmode, bargap, bargroupgap, margin, dimensions, width, height, annotations, is3d, **kwargs) 199 200 theme_data = getTheme(theme) –> 201 layout=go.Layout(theme_data[‘layout’]) 202 layout[‘xaxis1’].update({‘title’:xTitle}) 203 layout[‘yaxis1’].update({‘title’:yTitle})
E:\anaconda\lib\site-packages\plotly\graph_objs_layout.py in init(self, arg, angularaxis, annotations, autosize, bargap, bargroupgap, barmode, barnorm, boxgap, boxgroupgap, boxmode, calendar, colorway, datarevision, direction, dragmode, font, geo, grid, height, hiddenlabels, hiddenlabelssrc, hidesources, hoverdistance, hoverlabel, hovermode, images, legend, mapbox, margin, orientation, paper_bgcolor, plot_bgcolor, polar, radialaxis, scene, selectdirection, separators, shapes, showlegend, sliders, spikedistance, template, ternary, title, titlefont, updatemenus, violingap, violingroupgap, violinmode, width, xaxis, yaxis, **kwargs) 3735 self.images = images if images is not None else _v 3736 _v = arg.pop(‘legend’, None) -> 3737 self.legend = legend if legend is not None else _v 3738 _v = arg.pop(‘mapbox’, None) 3739 self.mapbox = mapbox if mapbox is not None else _v
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value) 3590 if match is None: 3591 # Set as ordinary property -> 3592 super(BaseLayoutHierarchyType, self).setattr(prop, value) 3593 else: 3594 # Set as subplotid property
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value) 2691 prop in self.
validators):2692 # Let known properties and private properties through-> 2693 super(BasePlotlyType, self)._setattr(prop, value) 2694 else: 2695 # Raise error on unknown public properties
E:\anaconda\lib\site-packages\plotly\graph_objs_layout.py in legend(self, val) 1224 @legend.setter 1225 def legend(self, val): -> 1226 self[‘legend’] = val 1227 1228 # mapbox
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value) 3576 if match is None: 3577 # Set as ordinary property -> 3578 super(BaseLayoutHierarchyType, self).setitem(prop, value) 3579 else: 3580 # Set as subplotid property
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value) 2654 # ### Handle compound property ### 2655 if isinstance(validator, CompoundValidator): -> 2656 self._set_compound_prop(prop, value) 2657 2658 # ### Handle compound array property ###
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in _set_compound_prop(self, prop, val) 2952 validator = self._validators.get(prop) 2953 # type: BasePlotlyType -> 2954 val = validator.validate_coerce(val) 2955 2956 # Save deep copies of current and new states
E:\anaconda\lib\site-packages_plotly_utils\basevalidators.py in validate_coerce(self, v) 1783 1784 elif isinstance(v, dict): -> 1785 v = self.data_class(**v) 1786 1787 elif isinstance(v, self.data_class):
E:\anaconda\lib\site-packages\plotly\graph_objs\layout_legend.py in init(self, arg, bgcolor, bordercolor, borderwidth, font, orientation, tracegroupgap, traceorder, x, xanchor, y, yanchor, **kwargs) 500 # ---------------------------------- 501 _v = arg.pop(‘bgcolor’, None) –> 502 self.bgcolor = bgcolor if bgcolor is not None else _v 503 _v = arg.pop(‘bordercolor’, None) 504 self.bordercolor = bordercolor if bordercolor is not None else _v
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value) 2691 prop in self.
validators):2692 # Let known properties and private properties through-> 2693 super(BasePlotlyType, self)._setattr(prop, value) 2694 else: 2695 # Raise error on unknown public properties
E:\anaconda\lib\site-packages\plotly\graph_objs\layout_legend.py in bgcolor(self, val) 62 @bgcolor.setter 63 def bgcolor(self, val): —> 64 self[‘bgcolor’] = val 65 66 # bordercolor
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value) 2663 # ### Handle simple property ### 2664 else: -> 2665 self._set_prop(prop, value) 2666 2667 # Handle non-scalar case
E:\anaconda\lib\site-packages\plotly\basedatatypes.py in _set_prop(self, prop, val) 2893 # ------------ 2894 validator = self._validators.get(prop) -> 2895 val = validator.validate_coerce(val) 2896 2897 # val is None
E:\anaconda\lib\site-packages_plotly_utils\basevalidators.py in validate_coerce(self, v, should_raise) 1068 validated_v = self.vc_scalar(v) 1069 if validated_v is None and should_raise: -> 1070 self.raise_invalid_val(v) 1071 1072 v = validated_v
E:\anaconda\lib\site-packages_plotly_utils\basevalidators.py in raise_invalid_val(self, v) 214 typ=type_str(v), 215 v=repr(v), –> 216 valid_clr_desc=self.description())) 217 218 def raise_invalid_elements(self, invalid_els):
ValueError: Invalid value of type ‘builtins.str’ received for the ‘bgcolor’ property of layout.legend Received value: ‘pearl02’
The ‘bgcolor’ property is a color and may be specified as:
No Worries…even i would take this opportunity for thanking u in having extended support wrt Spyder and anaconda…
in hindsight, if u wudnt have clarified as above…i wouldnt have religiously searched for R course and found the one which i was exactly looking up…thankx pal for pumping me up!!!
take care…
On Tue, Apr 17, 2018 at 3:46 AM, C.A.M. Gerlach notifications@github.com wrote:
–
With Warm Regards,
Jalesh